|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rpc.RpcHandler
public class RpcHandler
This handler is implemented by the RPC application if it wishes to be notifed of retransmissions. A good example is an NFS client that displays "NFS Server not responding" and "NFS server OK"
Constructor Summary | |
---|---|
RpcHandler()
|
Method Summary | |
---|---|
void |
ok(java.lang.String server)
Called when the server responds after a timeout |
boolean |
timeout(java.lang.String server,
int retries,
int waittime)
Called when the RPC times out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RpcHandler()
Method Detail |
---|
public boolean timeout(java.lang.String server, int retries, int waittime)
server
- The name of the serverretries
- Number of retries (initially 0)waittime
- Total time waiting for response
public void ok(java.lang.String server)
server
- The name of the server
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |