|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.misc.PingSender
public class PingSender
PingSender simply returns the data that was sent.
| Constructor Summary | |
|---|---|
PingSender(XBUSSystem destination)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(java.lang.String function,
java.lang.Object callData)
The given object callData will be returned. |
java.lang.String |
getType()
A Sender can send data either as a String
or as an Object to the neighboring system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingSender(XBUSSystem destination)
| Method Detail |
|---|
public java.lang.Object execute(java.lang.String function,
java.lang.Object callData)
callData will be returned.
execute in interface ObjectSenderfunction - used by some senderscallData - the data that shall be send to the neighbor system
public java.lang.String getType()
SenderSender can send data either as a String
or as an Object to the neighboring system.Strings the Sender must fulfill two
preconditions:
getType returns Constants.TYPE_TEXTTextSenderObjects the Sender must also fulfill two
preconditions:
getType returns Constants.TYPE_OBJECTObjectSender
getType in interface Sender
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||