|
|||||||||
| 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.VSDummyProtocol
public class VSDummyProtocol
The class VSDummyProtocol, can be used as a template in order to create own protocols.
| 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 | |
|---|---|
VSDummyProtocol()
Instantiates a new dummy protocol object. |
|
| 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 |
onClientStart()
On client start. |
void |
onServerInit()
On server init. |
void |
onServerRecv(VSMessage recvMessage)
On server recv. |
void |
onServerReset()
On server reset. |
void |
onServerSchedule()
On server schedule. |
java.lang.String |
toString()
|
| Methods inherited from class protocols.VSAbstractProtocol |
|---|
currentContextIsServer, deserialize, getNumProcesses, hasOnServerStart, isClient, isClient, isRelevantMessage, isServer, isServer, onClientScheduleStart, onInit, onMessageRecvStart, onServerScheduleStart, onServerStart, 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 VSDummyProtocol()
| Method Detail |
|---|
public void onClientInit()
VSAbstractProtocol
onClientInit in class VSAbstractProtocolpublic void onClientReset()
VSAbstractProtocol
onClientReset in class VSAbstractProtocolpublic void onClientStart()
VSAbstractProtocol
onClientStart in class VSAbstractProtocolpublic void onClientRecv(VSMessage recvMessage)
VSAbstractProtocol
onClientRecv in class VSAbstractProtocolrecvMessage - the messagepublic void onClientSchedule()
VSAbstractProtocol
onClientSchedule in class VSAbstractProtocolpublic void onServerInit()
VSAbstractProtocol
onServerInit in class VSAbstractProtocolpublic void onServerReset()
VSAbstractProtocol
onServerReset in class VSAbstractProtocolpublic void onServerRecv(VSMessage recvMessage)
VSAbstractProtocol
onServerRecv in class VSAbstractProtocolrecvMessage - the messagepublic void onServerSchedule()
VSAbstractProtocol
onServerSchedule 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 | ||||||||