|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rpc.RpcHandler
com.sun.nfs.NfsHandler
public abstract class NfsHandler
This handler is implemented by the NFS 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 | |
---|---|
NfsHandler()
|
Method Summary | |
---|---|
abstract void |
ok(java.lang.String server)
Called when a server reply is recieved after a timeout. |
abstract boolean |
timeout(java.lang.String server,
int retries,
int wait)
Called when an NFS request has timed out The RPC code will retransmit NFS requests until the server responds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NfsHandler()
Method Detail |
---|
public abstract boolean timeout(java.lang.String server, int retries, int wait)
An instance of the NfsHandler class is registered with the setHandler method of the NFS XFileExtensionAccessor.
timeout
in class RpcHandler
server
- The name of the server to which the
request was sent.retries
- The number of times the request has
been retransmitted. After the first timeout
retries will be zero.wait
- Total time since first call in milliseconds
(cumulative value of all retransmission timeouts).
public abstract void ok(java.lang.String server)
ok
in class RpcHandler
server
- The name of the server that returned
the reply.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |