|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortmapInterface
Methods that need to be implemented to provide Portmap RPC program. See RFC 1833 for details.
Nested Class Summary | |
---|---|
static class |
PortmapInterface.Procedure
|
Method Summary | |
---|---|
XDR |
dump(int xid,
XDR in,
XDR out)
This procedure enumerates all entries in the port mapper's database. |
XDR |
getport(int xid,
XDR in,
XDR out)
Given a program number "prog", version number "vers", and transport protocol number "prot", this procedure returns the port number on which the program is awaiting call requests. |
XDR |
nullOp(int xidd,
XDR in,
XDR out)
This procedure does no work. |
XDR |
set(int xid,
XDR in,
XDR out)
When a program first becomes available on a machine, it registers itself with the port mapper program on the same machine. |
XDR |
unset(int xid,
XDR in,
XDR out)
When a program becomes unavailable, it should unregister itself with the port mapper program on the same machine. |
Method Detail |
---|
XDR nullOp(int xidd, XDR in, XDR out)
XDR set(int xid, XDR in, XDR out)
XDR unset(int xid, XDR in, XDR out)
XDR getport(int xid, XDR in, XDR out)
XDR dump(int xid, XDR in, XDR out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |