|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.retrogui.dualrpc.client.AbstractClientRpcHandler
Abstract class that provides base rpc handler methods such as ping(), etc. Note: I thought about having a constructor that required a DualRpcClient to be passed in for easy access to call methods. This is similar to AbstractServerRpcHandler's constructor where a dispatcher with call methods is passed in. In typical usage a client handler method won't need to call the server (since it is the server calling in the first place). With no constructor defined in the abstract class the developer can create client handler classes and pass to the constructor any objects that are needed, including the DualRpcClient.
| Constructor Summary | |
AbstractClientRpcHandler()
|
|
| Method Summary | |
java.lang.String |
ping(java.lang.String s)
Echo (return) the same string as passed in. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractClientRpcHandler()
| Method Detail |
public java.lang.String ping(java.lang.String s)
s - - a string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||