com.sun.nfs
public abstract class NfsHandler extends RpcHandler
Constructor and Description |
---|
NfsHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.