KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)MarkAndResetHandler.java 1.6 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 /**
11  * Defines an abstraction for a RestorableInputStream to
12  * implement mark/reset.
13  */

14 interface MarkAndResetHandler
15 {
16     void mark(RestorableInputStream inputStream);
17
18     void fragmentationOccured(ByteBufferWithInfo newFragment);
19
20     void reset();
21 }
22
Popular Tags