|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.OS.UDP.test.udpStreamSession
Class executing a single client-server session.
| Field Summary |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
udpStreamSession(udpStreamClient client,
int sessid,
SSF.OS.UDP.test.udpStreamClient.serverData serv,
long file_size)
Constructors |
|
| Method Summary | |
void |
begin()
Class Methods |
void |
begin(Continuation caller)
|
void |
clientDebug(java.lang.String str)
preamble to client-side-only diagnostics |
boolean |
push(ProtocolMessage message,
ProtocolSession fromSession)
Routine to call when a message is being sent to ("pushed into") this ProtocolSession by another ProtocolSession. |
void |
sessionReport(java.lang.String str)
preamble to end2end session diagnostics |
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, config, debugIdentifier, inGraph, init, open, opened, pushAfterDelay, pushAfterDelayFailed, setGraph, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public udpStreamSession(udpStreamClient client,
int sessid,
SSF.OS.UDP.test.udpStreamClient.serverData serv,
long file_size)
| Method Detail |
public void begin()
public void begin(Continuation caller)
public void clientDebug(java.lang.String str)
public void sessionReport(java.lang.String str)
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
throws ProtocolException
ProtocolSessionIf you desire "safe" interaction with other CPU activities, even though your push() consumes no measurable/modelable CPU cycles, define the "cpudelay true" attribute for the ProtocolGraph and use pushAfterDelay(message,fromSession,0.0). This will guarantee proper ordering; that is, the framework will wait until the CPU is free before proceeding with the requested push().
push in class ProtocolSessionProtocolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||