de.esw.eengine.net
Class AbstractChannel
java.lang.Object
de.esw.eengine.net.ChannelHelper
de.esw.eengine.net.AbstractChannel
- Direct Known Subclasses:
- TCPChannel, UDPChannel
public abstract class AbstractChannel
- extends ChannelHelper
- Since:
- 1.0
- Version:
- $Id: AbstractChannel.java 202 2005-07-17 19:18:04Z markusw $
- Author:
- markusw
|
Constructor Summary |
AbstractChannel(int bufferSize,
java.lang.String charset)
|
| Methods inherited from class de.esw.eengine.net.ChannelHelper |
readBoolean, readBytes, readFile, readInt, readLong, readObject, readString, writeBoolean, writeBytes, writeFile, writeInt, writeLong, writeObject, writeString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractChannel
public AbstractChannel(int bufferSize,
java.lang.String charset)
- Parameters:
bufferSize - Size of the communication buffer in bytescharset - Charset to use for encoding and decoding
beginMessage
public void beginMessage()
sendMessage
public void sendMessage()
throws EEngineException
- Throws:
EEngineException - Thrown on network i/o errors
receiveMessage
public void receiveMessage()
throws EEngineException
- Throws:
EEngineException - Thrown on network i/o errors
dispose
public void dispose()
throws EEngineException
- Throws:
EEngineException - Thrown on network i/o errors