Modifier | Constructor and Description |
---|---|
protected |
SubSession(Package pPackage)
Instantiates a new sub session.
|
protected |
SubSession(Package pPackage,
String id)
Instantiates a new sub session.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
dispose()
Disposes of any resources allocated by the sub session.
|
String |
getId()
Gets the id.
|
Package |
getPackage()
Gets the package.
|
protected abstract void |
onMessage(oracle.wsc.android.data.Frame frame)
Handles inbound message on existing sub session.
|
protected void |
sendMessage(oracle.wsc.android.data.Frame frame)
Sends the message frame.
|
protected SubSession(Package pPackage)
pPackage
- the packagepublic Package getPackage()
public final String getId()
protected final void sendMessage(oracle.wsc.android.data.Frame frame)
frame
- Messageprotected abstract void dispose()
protected abstract void onMessage(oracle.wsc.android.data.Frame frame)
frame
- Message