public class ShSession extends Session
Constructor and Description |
---|
ShSession()
Used by Externalizable.
|
ShSession(ShApplication app) |
ShSession(ShApplication app,
String id,
Object parent) |
Modifier and Type | Method and Description |
---|---|
Request |
createPUR(AccessKey key,
ByteBuffer data) |
Request |
createRequest(Command cmd,
AccessKey key) |
Request |
createSNR(AccessKey key,
boolean subscribe) |
Request |
createUDR(AccessKey key) |
void |
readExternal(ObjectInput is) |
void |
writeExternal(ObjectOutput out) |
appendXml, createRequest, getAdapter, getApplication, getAttribute, getId, getListener, isTerminated, notifyListener, rcvAnswer, rcvMessage, rcvRequest, removeAttribute, setAdapter, setAttribute, setListener, sndMessage, terminate, toString
public ShSession()
public ShSession(ShApplication app)
public ShSession(ShApplication app, String id, Object parent)
public Request createUDR(AccessKey key) throws IOException
IOException
public Request createPUR(AccessKey key, ByteBuffer data) throws IOException
IOException
public Request createSNR(AccessKey key, boolean subscribe) throws IOException
IOException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Session
IOException
public void readExternal(ObjectInput is) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Session
IOException
ClassNotFoundException