de.esw.eengine.net
Class AbstractChannel

java.lang.Object
  extended by de.esw.eengine.net.ChannelHelper
      extended by 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)
           
 
Method Summary
 void beginMessage()
           
 void dispose()
           
 void receiveMessage()
           
 void sendMessage()
           
 
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
 

Constructor Detail

AbstractChannel

public AbstractChannel(int bufferSize,
                       java.lang.String charset)
Parameters:
bufferSize - Size of the communication buffer in bytes
charset - Charset to use for encoding and decoding
Method Detail

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