- /*
- * @(#)RestorableInputStream.java 1.3 03/01/23
- *
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
- package com.sun.corba.se.internal.iiop;
- /**
- * Defines the methods on an input stream which provide
- * a way to get and restore its internal state without
- * violating encapsulation.
- */
- interface RestorableInputStream
- {
- Object createStreamMemento();
- void restoreInternalState(Object streamMemento);
- }