public abstract class AbstractPacketizer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected RPCRequest |
_request |
protected byte |
_rpcSessionID |
protected SessionType |
_serviceType |
protected SdlSession |
_session |
protected IStreamListener |
_streamListener |
protected Version |
_wiproVersion |
protected byte[] |
buffer |
protected int |
bufferSize |
protected InputStream |
is |
| Constructor and Description |
|---|
AbstractPacketizer(IStreamListener streamListener,
InputStream is,
RPCRequest request,
SessionType sType,
byte rpcSessionID,
Version protocolVersion,
SdlSession session) |
AbstractPacketizer(IStreamListener streamListener,
InputStream is,
SessionType sType,
byte rpcSessionID,
SdlSession session) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
pause() |
abstract void |
resume() |
abstract void |
start() |
abstract void |
stop() |
protected IStreamListener _streamListener
protected byte _rpcSessionID
protected SessionType _serviceType
protected SdlSession _session
protected InputStream is
protected int bufferSize
protected byte[] buffer
protected RPCRequest _request
protected Version _wiproVersion
public AbstractPacketizer(IStreamListener streamListener, InputStream is, SessionType sType, byte rpcSessionID, SdlSession session) throws IOException, IllegalArgumentException
IOExceptionIllegalArgumentExceptionpublic AbstractPacketizer(IStreamListener streamListener, InputStream is, RPCRequest request, SessionType sType, byte rpcSessionID, Version protocolVersion, SdlSession session) throws IOException, IllegalArgumentException
IOExceptionIllegalArgumentExceptionpublic abstract void start()
throws IOException
IOExceptionpublic abstract void stop()
public abstract void pause()
public abstract void resume()