KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > encoding > RestorableInputStream


1 /*
2  * @(#)RestorableInputStream.java 1.5 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package com.sun.corba.se.impl.encoding;
8
9 /**
10  * Defines the methods on an input stream which provide
11  * a way to get and restore its internal state without
12  * violating encapsulation.
13  */

14 interface RestorableInputStream
15 {
16     Object JavaDoc createStreamMemento();
17
18     void restoreInternalState(Object JavaDoc streamMemento);
19 }
20
Popular Tags