|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprefs.VSPrefs
prefs.VSSerializablePrefs
events.VSAbstractEvent
protocols.VSAbstractProtocol
protocols.implementations.VSBerkelyTimeProtocol
public class VSBerkelyTimeProtocol
The class VSBerkelyTimeProtocol, an implementation of the berkely time protocol.
| Field Summary |
|---|
| Fields inherited from class protocols.VSAbstractProtocol |
|---|
HAS_ON_CLIENT_START, HAS_ON_SERVER_START |
| Fields inherited from class events.VSAbstractEvent |
|---|
prefs, process |
| Fields inherited from class prefs.VSPrefs |
|---|
BOOLEAN_PREFIX, COLOR_PREFIX, FLOAT_PREFIX, id, INTEGER_PREFIX, LONG_PREFIX, STRING_PREFIX, VECTOR_PREFIX |
| Constructor Summary | |
|---|---|
VSBerkelyTimeProtocol()
Instantiates a new berkely time protocol. |
|
| Method Summary | |
|---|---|
void |
onClientInit()
On client init. |
void |
onClientRecv(VSMessage recvMessage)
On client recv. |
void |
onClientReset()
On client reset. |
void |
onClientSchedule()
On client schedule. |
void |
onServerInit()
On server init. |
void |
onServerRecv(VSMessage recvMessage)
On server recv. |
void |
onServerReset()
On server reset. |
void |
onServerSchedule()
On server schedule. |
void |
onServerStart()
On server start. |
java.lang.String |
toString()
|
| Methods inherited from class protocols.VSAbstractProtocol |
|---|
currentContextIsServer, deserialize, getNumProcesses, hasOnServerStart, isClient, isClient, isRelevantMessage, isServer, isServer, onClientScheduleStart, onClientStart, onInit, onMessageRecvStart, onServerScheduleStart, onStart, removeSchedules, reset, scheduleAt, sendMessage, serialize |
| Methods inherited from class events.VSAbstractEvent |
|---|
equals, getClassname, getCopy, getCopy, getName, getProcess, getShortname, init, init, log, setClassname, setShortname |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VSBerkelyTimeProtocol()
| Method Detail |
|---|
public void onServerInit()
VSAbstractProtocol
onServerInit in class VSAbstractProtocolpublic void onServerReset()
VSAbstractProtocol
onServerReset in class VSAbstractProtocolpublic void onServerStart()
VSAbstractProtocol
onServerStart in class VSAbstractProtocolpublic void onServerRecv(VSMessage recvMessage)
VSAbstractProtocol
onServerRecv in class VSAbstractProtocolrecvMessage - the messagepublic void onServerSchedule()
VSAbstractProtocol
onServerSchedule in class VSAbstractProtocolpublic void onClientInit()
VSAbstractProtocol
onClientInit in class VSAbstractProtocolpublic void onClientReset()
VSAbstractProtocol
onClientReset in class VSAbstractProtocolpublic void onClientRecv(VSMessage recvMessage)
VSAbstractProtocol
onClientRecv in class VSAbstractProtocolrecvMessage - the messagepublic void onClientSchedule()
VSAbstractProtocol
onClientSchedule in class VSAbstractProtocolpublic java.lang.String toString()
toString in class VSAbstractProtocol
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||