org.objectweb.dream.channel
Interface WaitByte
- All Known Implementing Classes:
- WaitByteStreamImpl
- public interface WaitByte
Interface provided by component that can be used to wait for a byte over a
socket. Such component can be used to wait for an acknowledgment or for a
message request.
Field Summary |
static String |
ITF_NAME
The default name for interface of this type. |
Method Summary |
int |
waitByte(Object input)
Wait until a byte can be read on the given input. |
ITF_NAME
public static final String ITF_NAME
- The default name for interface of this type.
- See Also:
- Constant Field Values
waitByte
public int waitByte(Object input)
throws IOException
- Wait until a byte can be read on the given input.
- Parameters:
input
- an input.
- Returns:
- the byte read.
- Throws:
IOException
- If an I/O error occurs- See Also:
InputStream.read()
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.