org.objectweb.dream.channel
Interface SendByte
- All Known Implementing Classes:
- SendByteStreamImpl
- public interface SendByte
Interface provided by component that can be used to send a byte over a
socket. Such component can be used to send an acknowledgment or a message
request.
Field Summary |
static String |
ITF_NAME
The default name for interface of this type. |
Method Summary |
void |
sendByte(Object output,
int b)
Send a byte throuw the given output. |
ITF_NAME
public static final String ITF_NAME
- The default name for interface of this type.
- See Also:
- Constant Field Values
sendByte
public void sendByte(Object output,
int b)
throws IOException
- Send a byte throuw the given output.
- Parameters:
output
- an outputb
- the byte to send (value from 0 to 255).
- Throws:
IOException
- if an error occurs.
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.