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.


Variable Index

 o YP_BADARGS
Constant for enum ypstat
 o YP_BADDB
Constant for enum ypstat
 o YP_BADOP
Constant for enum ypstat
 o YP_FALSE
Constant for enum ypstat
 o YP_NODOM
Constant for enum ypstat
 o YP_NOKEY
Constant for enum ypstat
 o YP_NOMAP
Constant for enum ypstat
 o YP_NOMORE
Constant for enum ypstat
 o YP_TRUE
Constant for enum ypstat
 o YP_VERS
Constant for enum ypstat
 o YP_YPERR
Constant for enum ypstat
 o YPBIND_ERR_ERR
 o YPBIND_ERR_NOSERV
 o YPBIND_ERR_RESC
 o YPBIND_FAIL_VAL
Constant for enum ypbind_resptype
 o YPBIND_SUCC_VAL
Constant for enum ypbind_resptype
 o YPMAXDOMAIN
 o YPMAXMAP
 o YPMAXPEER
 o YPMAXRECORD
 o YPPROC_ALL
 o YPPROC_CLEAR
 o YPPROC_DOMAIN
 o YPPROC_DOMAIN_NONACK
 o YPPROC_FIRST
 o YPPROC_MAPLIST
 o YPPROC_MASTER
 o YPPROC_MATCH
 o YPPROC_NEXT
 o YPPROC_NULL
 o YPPROC_ORDER
 o YPPROC_XFR
 o YPPROG
Program ID of the interface.
 o YPPUSH_AGE
Constant for enum yppush_status
 o YPPUSH_BADARGS
Constant for enum yppush_status
 o YPPUSH_CLEAR
Constant for enum yppush_status
 o YPPUSH_DBM
Constant for enum yppush_status
 o YPPUSH_FILE
Constant for enum yppush_status
 o YPPUSH_FORCE
Constant for enum yppush_status
 o YPPUSH_MADDR
Constant for enum yppush_status
 o YPPUSH_NODOM
Constant for enum yppush_status
 o YPPUSH_NOMAP
Constant for enum yppush_status
 o YPPUSH_REFUSED
Constant for enum yppush_status
 o YPPUSH_RPC
Constant for enum yppush_status
 o YPPUSH_RSRC
Constant for enum yppush_status
 o YPPUSH_SKEW
Constant for enum yppush_status
 o YPPUSH_SUCC
Constant for enum yppush_status
 o YPPUSH_XFRERR
Constant for enum yppush_status
 o YPPUSH_YPERR
Constant for enum yppush_status
 o YPVERS
Version ID of the interface.
 o YPXFR_AGE
Constant for enum ypxfrstat
 o YPXFR_BADARGS
Constant for enum ypxfrstat
 o YPXFR_CLEAR
Constant for enum ypxfrstat
 o YPXFR_DBM
Constant for enum ypxfrstat
 o YPXFR_FILE
Constant for enum ypxfrstat
 o YPXFR_FORCE
Constant for enum ypxfrstat
 o YPXFR_MADDR
Constant for enum ypxfrstat
 o YPXFR_NODOM
Constant for enum ypxfrstat
 o YPXFR_NOMAP
Constant for enum ypxfrstat
 o YPXFR_REFUSED
Constant for enum ypxfrstat
 o YPXFR_RPC
Constant for enum ypxfrstat
 o YPXFR_RSRC
Constant for enum ypxfrstat
 o YPXFR_SKEW
Constant for enum ypxfrstat
 o YPXFR_SUCC
Constant for enum ypxfrstat
 o YPXFR_XFRERR
Constant for enum ypxfrstat
 o YPXFR_YPERR
Constant for enum ypxfrstat

Constructor Index

 o yp(ClientGeneric)
Creates an RPC client for a server that implements the "yp" interface.
 o yp(InetAddress, boolean)
Creates and connects an RPC client for a server that implements the "yp" interface.
 o yp(InetAddress, int, boolean)
Creates and connects an RPC client for a server that implements the "yp" interface.

Method Index

 o YPPROC_ALL_2(ypreq_nokey)
Stub method that invokes the server function "YPPROC_ALL" (version 2).
 o YPPROC_CLEAR_2()
Stub method that invokes the server function "YPPROC_CLEAR" (version 2).
 o YPPROC_DOMAIN_2(domainname)
Stub method that invokes the server function "YPPROC_DOMAIN" (version 2).
 o YPPROC_DOMAIN_NONACK_2(domainname)
Stub method that invokes the server function "YPPROC_DOMAIN_NONACK" (version 2).
 o YPPROC_FIRST_2(ypreq_key)
Stub method that invokes the server function "YPPROC_FIRST" (version 2).
 o YPPROC_MAPLIST_2(domainname)
Stub method that invokes the server function "YPPROC_MAPLIST" (version 2).
 o YPPROC_MASTER_2(ypreq_nokey)
Stub method that invokes the server function "YPPROC_MASTER" (version 2).
 o YPPROC_MATCH_2(ypreq_key)
Stub method that invokes the server function "YPPROC_MATCH" (version 2).
 o YPPROC_NEXT_2(ypreq_key)
Stub method that invokes the server function "YPPROC_NEXT" (version 2).
 o YPPROC_NULL_2()
Stub method that invokes the server function "YPPROC_NULL" (version 2).
 o YPPROC_ORDER_2(ypreq_nokey)
Stub method that invokes the server function "YPPROC_ORDER" (version 2).
 o YPPROC_XFR_2(ypreq_xfr)
Stub method that invokes the server function "YPPROC_XFR" (version 2).

Variables

 o YPMAXRECORD
 public static final int YPMAXRECORD
 o YPMAXDOMAIN
 public static final int YPMAXDOMAIN
 o YPMAXMAP
 public static final int YPMAXMAP
 o YPMAXPEER
 public static final int YPMAXPEER
 o YP_TRUE
 public static final int YP_TRUE
Constant for enum ypstat

 o YP_NOMORE
 public static final int YP_NOMORE
Constant for enum ypstat

 o YP_FALSE
 public static final int YP_FALSE
Constant for enum ypstat

 o YP_NOMAP
 public static final int YP_NOMAP
Constant for enum ypstat

 o YP_NODOM
 public static final int YP_NODOM
Constant for enum ypstat

 o YP_NOKEY
 public static final int YP_NOKEY
Constant for enum ypstat

 o YP_BADOP
 public static final int YP_BADOP
Constant for enum ypstat

 o YP_BADDB
 public static final int YP_BADDB
Constant for enum ypstat

 o YP_YPERR
 public static final int YP_YPERR
Constant for enum ypstat

 o YP_BADARGS
 public static final int YP_BADARGS
Constant for enum ypstat

 o YP_VERS
 public static final int YP_VERS
Constant for enum ypstat

 o YPXFR_SUCC
 public static final int YPXFR_SUCC
Constant for enum ypxfrstat

 o YPXFR_AGE
 public static final int YPXFR_AGE
Constant for enum ypxfrstat

 o YPXFR_NOMAP
 public static final int YPXFR_NOMAP
Constant for enum ypxfrstat

 o YPXFR_NODOM
 public static final int YPXFR_NODOM
Constant for enum ypxfrstat

 o YPXFR_RSRC
 public static final int YPXFR_RSRC
Constant for enum ypxfrstat

 o YPXFR_RPC
 public static final int YPXFR_RPC
Constant for enum ypxfrstat

 o YPXFR_MADDR
 public static final int YPXFR_MADDR
Constant for enum ypxfrstat

 o YPXFR_YPERR
 public static final int YPXFR_YPERR
Constant for enum ypxfrstat

 o YPXFR_BADARGS
 public static final int YPXFR_BADARGS
Constant for enum ypxfrstat

 o YPXFR_DBM
 public static final int YPXFR_DBM
Constant for enum ypxfrstat

 o YPXFR_FILE
 public static final int YPXFR_FILE
Constant for enum ypxfrstat

 o YPXFR_SKEW
 public static final int YPXFR_SKEW
Constant for enum ypxfrstat

 o YPXFR_CLEAR
 public static final int YPXFR_CLEAR
Constant for enum ypxfrstat

 o YPXFR_FORCE
 public static final int YPXFR_FORCE
Constant for enum ypxfrstat

 o YPXFR_XFRERR
 public static final int YPXFR_XFRERR
Constant for enum ypxfrstat

 o YPXFR_REFUSED
 public static final int YPXFR_REFUSED
Constant for enum ypxfrstat

 o YPPUSH_SUCC
 public static final int YPPUSH_SUCC
Constant for enum yppush_status

 o YPPUSH_AGE
 public static final int YPPUSH_AGE
Constant for enum yppush_status

 o YPPUSH_NOMAP
 public static final int YPPUSH_NOMAP
Constant for enum yppush_status

 o YPPUSH_NODOM
 public static final int YPPUSH_NODOM
Constant for enum yppush_status

 o YPPUSH_RSRC
 public static final int YPPUSH_RSRC
Constant for enum yppush_status

 o YPPUSH_RPC
 public static final int YPPUSH_RPC
Constant for enum yppush_status

 o YPPUSH_MADDR
 public static final int YPPUSH_MADDR
Constant for enum yppush_status

 o YPPUSH_YPERR
 public static final int YPPUSH_YPERR
Constant for enum yppush_status

 o YPPUSH_BADARGS
 public static final int YPPUSH_BADARGS
Constant for enum yppush_status

 o YPPUSH_DBM
 public static final int YPPUSH_DBM
Constant for enum yppush_status

 o YPPUSH_FILE
 public static final int YPPUSH_FILE
Constant for enum yppush_status

 o YPPUSH_SKEW
 public static final int YPPUSH_SKEW
Constant for enum yppush_status

 o YPPUSH_CLEAR
 public static final int YPPUSH_CLEAR
Constant for enum yppush_status

 o YPPUSH_FORCE
 public static final int YPPUSH_FORCE
Constant for enum yppush_status

 o YPPUSH_XFRERR
 public static final int YPPUSH_XFRERR
Constant for enum yppush_status

 o YPPUSH_REFUSED
 public static final int YPPUSH_REFUSED
Constant for enum yppush_status

 o YPBIND_SUCC_VAL
 public static final int YPBIND_SUCC_VAL
Constant for enum ypbind_resptype

 o YPBIND_FAIL_VAL
 public static final int YPBIND_FAIL_VAL
Constant for enum ypbind_resptype

 o YPBIND_ERR_ERR
 public static final int YPBIND_ERR_ERR
 o YPBIND_ERR_NOSERV
 public static final int YPBIND_ERR_NOSERV
 o YPBIND_ERR_RESC
 public static final int YPBIND_ERR_RESC
 o YPPROG
 public static final int YPPROG
Program ID of the interface.

 o YPVERS
 public static final int YPVERS
Version ID of the interface.

 o YPPROC_NULL
 public static final int YPPROC_NULL
 o YPPROC_DOMAIN
 public static final int YPPROC_DOMAIN
 o YPPROC_DOMAIN_NONACK
 public static final int YPPROC_DOMAIN_NONACK
 o YPPROC_MATCH
 public static final int YPPROC_MATCH
 o YPPROC_FIRST
 public static final int YPPROC_FIRST
 o YPPROC_NEXT
 public static final int YPPROC_NEXT
 o YPPROC_XFR
 public static final int YPPROC_XFR
 o YPPROC_CLEAR
 public static final int YPPROC_CLEAR
 o YPPROC_ALL
 public static final int YPPROC_ALL
 o YPPROC_MASTER
 public static final int YPPROC_MASTER
 o YPPROC_ORDER
 public static final int YPPROC_ORDER
 o YPPROC_MAPLIST
 public static final int YPPROC_MAPLIST

Constructors

 o 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.
 o 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.
 o 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.

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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