All Packages Class Hierarchy This Package Previous Next Index
Class distinct.rpc.yp.yp
java.lang.Object
|
+----distinct.rpc.JRPCClient
|
+----distinct.rpc.yp.yp
- public class yp
- extends JRPCClient
This class was automatically generated by Jrpcgen from the RPC/XDR file "yp.x"
.
It defines the client interface to a server implementing the "YPPROG" interface.
-
YP_BADARGS
- Constant for enum ypstat
-
YP_BADDB
- Constant for enum ypstat
-
YP_BADOP
- Constant for enum ypstat
-
YP_FALSE
- Constant for enum ypstat
-
YP_NODOM
- Constant for enum ypstat
-
YP_NOKEY
- Constant for enum ypstat
-
YP_NOMAP
- Constant for enum ypstat
-
YP_NOMORE
- Constant for enum ypstat
-
YP_TRUE
- Constant for enum ypstat
-
YP_VERS
- Constant for enum ypstat
-
YP_YPERR
- Constant for enum ypstat
-
YPBIND_ERR_ERR
-
-
YPBIND_ERR_NOSERV
-
-
YPBIND_ERR_RESC
-
-
YPBIND_FAIL_VAL
- Constant for enum ypbind_resptype
-
YPBIND_SUCC_VAL
- Constant for enum ypbind_resptype
-
YPMAXDOMAIN
-
-
YPMAXMAP
-
-
YPMAXPEER
-
-
YPMAXRECORD
-
-
YPPROC_ALL
-
-
YPPROC_CLEAR
-
-
YPPROC_DOMAIN
-
-
YPPROC_DOMAIN_NONACK
-
-
YPPROC_FIRST
-
-
YPPROC_MAPLIST
-
-
YPPROC_MASTER
-
-
YPPROC_MATCH
-
-
YPPROC_NEXT
-
-
YPPROC_NULL
-
-
YPPROC_ORDER
-
-
YPPROC_XFR
-
-
YPPROG
- Program ID of the interface.
-
YPPUSH_AGE
- Constant for enum yppush_status
-
YPPUSH_BADARGS
- Constant for enum yppush_status
-
YPPUSH_CLEAR
- Constant for enum yppush_status
-
YPPUSH_DBM
- Constant for enum yppush_status
-
YPPUSH_FILE
- Constant for enum yppush_status
-
YPPUSH_FORCE
- Constant for enum yppush_status
-
YPPUSH_MADDR
- Constant for enum yppush_status
-
YPPUSH_NODOM
- Constant for enum yppush_status
-
YPPUSH_NOMAP
- Constant for enum yppush_status
-
YPPUSH_REFUSED
- Constant for enum yppush_status
-
YPPUSH_RPC
- Constant for enum yppush_status
-
YPPUSH_RSRC
- Constant for enum yppush_status
-
YPPUSH_SKEW
- Constant for enum yppush_status
-
YPPUSH_SUCC
- Constant for enum yppush_status
-
YPPUSH_XFRERR
- Constant for enum yppush_status
-
YPPUSH_YPERR
- Constant for enum yppush_status
-
YPVERS
- Version ID of the interface.
-
YPXFR_AGE
- Constant for enum ypxfrstat
-
YPXFR_BADARGS
- Constant for enum ypxfrstat
-
YPXFR_CLEAR
- Constant for enum ypxfrstat
-
YPXFR_DBM
- Constant for enum ypxfrstat
-
YPXFR_FILE
- Constant for enum ypxfrstat
-
YPXFR_FORCE
- Constant for enum ypxfrstat
-
YPXFR_MADDR
- Constant for enum ypxfrstat
-
YPXFR_NODOM
- Constant for enum ypxfrstat
-
YPXFR_NOMAP
- Constant for enum ypxfrstat
-
YPXFR_REFUSED
- Constant for enum ypxfrstat
-
YPXFR_RPC
- Constant for enum ypxfrstat
-
YPXFR_RSRC
- Constant for enum ypxfrstat
-
YPXFR_SKEW
- Constant for enum ypxfrstat
-
YPXFR_SUCC
- Constant for enum ypxfrstat
-
YPXFR_XFRERR
- Constant for enum ypxfrstat
-
YPXFR_YPERR
- Constant for enum ypxfrstat
-
yp(ClientGeneric)
- Creates an RPC client for a server that implements the "yp" interface.
-
yp(InetAddress, boolean)
- Creates and connects an RPC client for a server that implements the "yp" interface.
-
yp(InetAddress, int, boolean)
- Creates and connects an RPC client for a server that implements the "yp" interface.
-
YPPROC_ALL_2(ypreq_nokey)
- Stub method that invokes the server function "YPPROC_ALL" (version 2).
-
YPPROC_CLEAR_2()
- Stub method that invokes the server function "YPPROC_CLEAR" (version 2).
-
YPPROC_DOMAIN_2(domainname)
- Stub method that invokes the server function "YPPROC_DOMAIN" (version 2).
-
YPPROC_DOMAIN_NONACK_2(domainname)
- Stub method that invokes the server function "YPPROC_DOMAIN_NONACK" (version 2).
-
YPPROC_FIRST_2(ypreq_key)
- Stub method that invokes the server function "YPPROC_FIRST" (version 2).
-
YPPROC_MAPLIST_2(domainname)
- Stub method that invokes the server function "YPPROC_MAPLIST" (version 2).
-
YPPROC_MASTER_2(ypreq_nokey)
- Stub method that invokes the server function "YPPROC_MASTER" (version 2).
-
YPPROC_MATCH_2(ypreq_key)
- Stub method that invokes the server function "YPPROC_MATCH" (version 2).
-
YPPROC_NEXT_2(ypreq_key)
- Stub method that invokes the server function "YPPROC_NEXT" (version 2).
-
YPPROC_NULL_2()
- Stub method that invokes the server function "YPPROC_NULL" (version 2).
-
YPPROC_ORDER_2(ypreq_nokey)
- Stub method that invokes the server function "YPPROC_ORDER" (version 2).
-
YPPROC_XFR_2(ypreq_xfr)
- Stub method that invokes the server function "YPPROC_XFR" (version 2).
YPMAXRECORD
public static final int YPMAXRECORD
YPMAXDOMAIN
public static final int YPMAXDOMAIN
YPMAXMAP
public static final int YPMAXMAP
YPMAXPEER
public static final int YPMAXPEER
YP_TRUE
public static final int YP_TRUE
- Constant for enum ypstat
YP_NOMORE
public static final int YP_NOMORE
- Constant for enum ypstat
YP_FALSE
public static final int YP_FALSE
- Constant for enum ypstat
YP_NOMAP
public static final int YP_NOMAP
- Constant for enum ypstat
YP_NODOM
public static final int YP_NODOM
- Constant for enum ypstat
YP_NOKEY
public static final int YP_NOKEY
- Constant for enum ypstat
YP_BADOP
public static final int YP_BADOP
- Constant for enum ypstat
YP_BADDB
public static final int YP_BADDB
- Constant for enum ypstat
YP_YPERR
public static final int YP_YPERR
- Constant for enum ypstat
YP_BADARGS
public static final int YP_BADARGS
- Constant for enum ypstat
YP_VERS
public static final int YP_VERS
- Constant for enum ypstat
YPXFR_SUCC
public static final int YPXFR_SUCC
- Constant for enum ypxfrstat
YPXFR_AGE
public static final int YPXFR_AGE
- Constant for enum ypxfrstat
YPXFR_NOMAP
public static final int YPXFR_NOMAP
- Constant for enum ypxfrstat
YPXFR_NODOM
public static final int YPXFR_NODOM
- Constant for enum ypxfrstat
YPXFR_RSRC
public static final int YPXFR_RSRC
- Constant for enum ypxfrstat
YPXFR_RPC
public static final int YPXFR_RPC
- Constant for enum ypxfrstat
YPXFR_MADDR
public static final int YPXFR_MADDR
- Constant for enum ypxfrstat
YPXFR_YPERR
public static final int YPXFR_YPERR
- Constant for enum ypxfrstat
YPXFR_BADARGS
public static final int YPXFR_BADARGS
- Constant for enum ypxfrstat
YPXFR_DBM
public static final int YPXFR_DBM
- Constant for enum ypxfrstat
YPXFR_FILE
public static final int YPXFR_FILE
- Constant for enum ypxfrstat
YPXFR_SKEW
public static final int YPXFR_SKEW
- Constant for enum ypxfrstat
YPXFR_CLEAR
public static final int YPXFR_CLEAR
- Constant for enum ypxfrstat
YPXFR_FORCE
public static final int YPXFR_FORCE
- Constant for enum ypxfrstat
YPXFR_XFRERR
public static final int YPXFR_XFRERR
- Constant for enum ypxfrstat
YPXFR_REFUSED
public static final int YPXFR_REFUSED
- Constant for enum ypxfrstat
YPPUSH_SUCC
public static final int YPPUSH_SUCC
- Constant for enum yppush_status
YPPUSH_AGE
public static final int YPPUSH_AGE
- Constant for enum yppush_status
YPPUSH_NOMAP
public static final int YPPUSH_NOMAP
- Constant for enum yppush_status
YPPUSH_NODOM
public static final int YPPUSH_NODOM
- Constant for enum yppush_status
YPPUSH_RSRC
public static final int YPPUSH_RSRC
- Constant for enum yppush_status
YPPUSH_RPC
public static final int YPPUSH_RPC
- Constant for enum yppush_status
YPPUSH_MADDR
public static final int YPPUSH_MADDR
- Constant for enum yppush_status
YPPUSH_YPERR
public static final int YPPUSH_YPERR
- Constant for enum yppush_status
YPPUSH_BADARGS
public static final int YPPUSH_BADARGS
- Constant for enum yppush_status
YPPUSH_DBM
public static final int YPPUSH_DBM
- Constant for enum yppush_status
YPPUSH_FILE
public static final int YPPUSH_FILE
- Constant for enum yppush_status
YPPUSH_SKEW
public static final int YPPUSH_SKEW
- Constant for enum yppush_status
YPPUSH_CLEAR
public static final int YPPUSH_CLEAR
- Constant for enum yppush_status
YPPUSH_FORCE
public static final int YPPUSH_FORCE
- Constant for enum yppush_status
YPPUSH_XFRERR
public static final int YPPUSH_XFRERR
- Constant for enum yppush_status
YPPUSH_REFUSED
public static final int YPPUSH_REFUSED
- Constant for enum yppush_status
YPBIND_SUCC_VAL
public static final int YPBIND_SUCC_VAL
- Constant for enum ypbind_resptype
YPBIND_FAIL_VAL
public static final int YPBIND_FAIL_VAL
- Constant for enum ypbind_resptype
YPBIND_ERR_ERR
public static final int YPBIND_ERR_ERR
YPBIND_ERR_NOSERV
public static final int YPBIND_ERR_NOSERV
YPBIND_ERR_RESC
public static final int YPBIND_ERR_RESC
YPPROG
public static final int YPPROG
- Program ID of the interface.
YPVERS
public static final int YPVERS
- Version ID of the interface.
YPPROC_NULL
public static final int YPPROC_NULL
YPPROC_DOMAIN
public static final int YPPROC_DOMAIN
YPPROC_DOMAIN_NONACK
public static final int YPPROC_DOMAIN_NONACK
YPPROC_MATCH
public static final int YPPROC_MATCH
YPPROC_FIRST
public static final int YPPROC_FIRST
YPPROC_NEXT
public static final int YPPROC_NEXT
YPPROC_XFR
public static final int YPPROC_XFR
YPPROC_CLEAR
public static final int YPPROC_CLEAR
YPPROC_ALL
public static final int YPPROC_ALL
YPPROC_MASTER
public static final int YPPROC_MASTER
YPPROC_ORDER
public static final int YPPROC_ORDER
YPPROC_MAPLIST
public static final int YPPROC_MAPLIST
yp
public yp(InetAddress host,
boolean stream) throws RPCError
- Creates and connects an RPC client for a server that implements the "yp" interface.
Calls the remote Portmapper in order to get the port of the server.
- Parameters:
- host - The host on which the server lives.
- stream - true for a TCP connection, false for UDP.
- Throws: RPCError
- When the calls fails for any reason.
yp
public yp(InetAddress host,
int port,
boolean stream) throws RPCError
- Creates and connects an RPC client for a server that implements the "yp" interface.
The client is connected it to a server with a known port. (No interaction with a portmapper)
- Parameters:
- host - The host on which the server lives.
- port - The port on which the server listens.
- stream - true for a TCP connection, false for UDP.
- Throws: RPCError
- When the calls fails for any reason.
yp
public yp(ClientGeneric protocol)
- Creates an RPC client for a server that implements the "yp" interface.
It initializes it with a externally created protocol client object.
- Parameters:
- protocol - The protocol object that implements the client connection.
YPPROC_NULL_2
public void YPPROC_NULL_2() throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_NULL" (version 2).
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_DOMAIN_2
public boolean YPPROC_DOMAIN_2(domainname arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_DOMAIN" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_DOMAIN_NONACK_2
public boolean YPPROC_DOMAIN_NONACK_2(domainname arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_DOMAIN_NONACK" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_MATCH_2
public ypresp_val YPPROC_MATCH_2(ypreq_key arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_MATCH" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_FIRST_2
public ypresp_key_val YPPROC_FIRST_2(ypreq_key arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_FIRST" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_NEXT_2
public ypresp_key_val YPPROC_NEXT_2(ypreq_key arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_NEXT" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_XFR_2
public ypresp_xfr YPPROC_XFR_2(ypreq_xfr arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_XFR" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_CLEAR_2
public void YPPROC_CLEAR_2() throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_CLEAR" (version 2).
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_ALL_2
public ypresp_all YPPROC_ALL_2(ypreq_nokey arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_ALL" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_MASTER_2
public ypresp_master YPPROC_MASTER_2(ypreq_nokey arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_MASTER" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_ORDER_2
public ypresp_order YPPROC_ORDER_2(ypreq_nokey arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_ORDER" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
YPPROC_MAPLIST_2
public ypresp_maplist YPPROC_MAPLIST_2(domainname arg) throws RPCError, IOException
- Stub method that invokes the server function "YPPROC_MAPLIST" (version 2).
- Parameters:
- arg - The input parameter of the RPC.
- Returns:
- The return value of the RPC.
- Throws: IOException
- When the RPC fails because the socket connetion fails.
- Throws: RPCError
- When the RPC fails for any other reason.
All Packages Class Hierarchy This Package Previous Next Index