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, toStringpublic ShSession()
public ShSession(ShApplication app)
public ShSession(ShApplication app, String id, Object parent)
public Request createUDR(AccessKey key) throws IOException
IOExceptionpublic Request createPUR(AccessKey key, ByteBuffer data) throws IOException
IOExceptionpublic Request createSNR(AccessKey key, boolean subscribe) throws IOException
IOExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SessionIOExceptionpublic void readExternal(ObjectInput is) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SessionIOExceptionClassNotFoundException