|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.distinct.rpc.JRPCClient
|
+--com.distinct.rpc.yp.yp
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.
| Field Summary | |
static int |
YP_BADARGS
Constant for enum ypstat |
static int |
YP_BADDB
Constant for enum ypstat |
static int |
YP_BADOP
Constant for enum ypstat |
static int |
YP_FALSE
Constant for enum ypstat |
static int |
YP_NODOM
Constant for enum ypstat |
static int |
YP_NOKEY
Constant for enum ypstat |
static int |
YP_NOMAP
Constant for enum ypstat |
static int |
YP_NOMORE
Constant for enum ypstat |
static int |
YP_TRUE
Constant for enum ypstat |
static int |
YP_VERS
Constant for enum ypstat |
static int |
YP_YPERR
Constant for enum ypstat |
static int |
YPBIND_ERR_ERR
|
static int |
YPBIND_ERR_NOSERV
|
static int |
YPBIND_ERR_RESC
|
static int |
YPBIND_FAIL_VAL
Constant for enum ypbind_resptype |
static int |
YPBIND_SUCC_VAL
Constant for enum ypbind_resptype |
static int |
YPMAXDOMAIN
|
static int |
YPMAXMAP
|
static int |
YPMAXPEER
|
static int |
YPMAXRECORD
|
static int |
YPPROC_ALL
|
static int |
YPPROC_CLEAR
|
static int |
YPPROC_DOMAIN
|
static int |
YPPROC_DOMAIN_NONACK
|
static int |
YPPROC_FIRST
|
static int |
YPPROC_MAPLIST
|
static int |
YPPROC_MASTER
|
static int |
YPPROC_MATCH
|
static int |
YPPROC_NEXT
|
static int |
YPPROC_NULL
|
static int |
YPPROC_ORDER
|
static int |
YPPROC_XFR
|
static int |
YPPROG
Program ID of the interface. |
static int |
YPPUSH_AGE
Constant for enum yppush_status |
static int |
YPPUSH_BADARGS
Constant for enum yppush_status |
static int |
YPPUSH_CLEAR
Constant for enum yppush_status |
static int |
YPPUSH_DBM
Constant for enum yppush_status |
static int |
YPPUSH_FILE
Constant for enum yppush_status |
static int |
YPPUSH_FORCE
Constant for enum yppush_status |
static int |
YPPUSH_MADDR
Constant for enum yppush_status |
static int |
YPPUSH_NODOM
Constant for enum yppush_status |
static int |
YPPUSH_NOMAP
Constant for enum yppush_status |
static int |
YPPUSH_REFUSED
Constant for enum yppush_status |
static int |
YPPUSH_RPC
Constant for enum yppush_status |
static int |
YPPUSH_RSRC
Constant for enum yppush_status |
static int |
YPPUSH_SKEW
Constant for enum yppush_status |
static int |
YPPUSH_SUCC
Constant for enum yppush_status |
static int |
YPPUSH_XFRERR
Constant for enum yppush_status |
static int |
YPPUSH_YPERR
Constant for enum yppush_status |
static int |
YPVERS
Version ID of the interface. |
static int |
YPXFR_AGE
Constant for enum ypxfrstat |
static int |
YPXFR_BADARGS
Constant for enum ypxfrstat |
static int |
YPXFR_CLEAR
Constant for enum ypxfrstat |
static int |
YPXFR_DBM
Constant for enum ypxfrstat |
static int |
YPXFR_FILE
Constant for enum ypxfrstat |
static int |
YPXFR_FORCE
Constant for enum ypxfrstat |
static int |
YPXFR_MADDR
Constant for enum ypxfrstat |
static int |
YPXFR_NODOM
Constant for enum ypxfrstat |
static int |
YPXFR_NOMAP
Constant for enum ypxfrstat |
static int |
YPXFR_REFUSED
Constant for enum ypxfrstat |
static int |
YPXFR_RPC
Constant for enum ypxfrstat |
static int |
YPXFR_RSRC
Constant for enum ypxfrstat |
static int |
YPXFR_SKEW
Constant for enum ypxfrstat |
static int |
YPXFR_SUCC
Constant for enum ypxfrstat |
static int |
YPXFR_XFRERR
Constant for enum ypxfrstat |
static int |
YPXFR_YPERR
Constant for enum ypxfrstat |
| Constructor Summary | |
yp(ClientGeneric protocol)
Creates an RPC client for a server that implements the "yp" interface. |
|
yp(java.net.InetAddress host,
boolean stream)
Creates and connects an RPC client for a server that implements the "yp" interface. |
|
yp(java.net.InetAddress host,
int port,
boolean stream)
Creates and connects an RPC client for a server that implements the "yp" interface. |
|
| Method Summary | |
ypresp_all |
YPPROC_ALL_2(ypreq_nokey arg)
Stub method that invokes the server function "YPPROC_ALL" (version 2). |
void |
YPPROC_CLEAR_2()
Stub method that invokes the server function "YPPROC_CLEAR" (version 2). |
boolean |
YPPROC_DOMAIN_2(domainname arg)
Stub method that invokes the server function "YPPROC_DOMAIN" (version 2). |
boolean |
YPPROC_DOMAIN_NONACK_2(domainname arg)
Stub method that invokes the server function "YPPROC_DOMAIN_NONACK" (version 2). |
ypresp_key_val |
YPPROC_FIRST_2(ypreq_key arg)
Stub method that invokes the server function "YPPROC_FIRST" (version 2). |
ypresp_maplist |
YPPROC_MAPLIST_2(domainname arg)
Stub method that invokes the server function "YPPROC_MAPLIST" (version 2). |
ypresp_master |
YPPROC_MASTER_2(ypreq_nokey arg)
Stub method that invokes the server function "YPPROC_MASTER" (version 2). |
ypresp_val |
YPPROC_MATCH_2(ypreq_key arg)
Stub method that invokes the server function "YPPROC_MATCH" (version 2). |
ypresp_key_val |
YPPROC_NEXT_2(ypreq_key arg)
Stub method that invokes the server function "YPPROC_NEXT" (version 2). |
void |
YPPROC_NULL_2()
Stub method that invokes the server function "YPPROC_NULL" (version 2). |
ypresp_order |
YPPROC_ORDER_2(ypreq_nokey arg)
Stub method that invokes the server function "YPPROC_ORDER" (version 2). |
ypresp_xfr |
YPPROC_XFR_2(ypreq_xfr arg)
Stub method that invokes the server function "YPPROC_XFR" (version 2). |
| Methods inherited from class com.distinct.rpc.JRPCClient |
BroadcastCall, Call, CloseClient, GetClient, SetClient, SetResend, SetTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int YPMAXRECORD
public static final int YPMAXDOMAIN
public static final int YPMAXMAP
public static final int YPMAXPEER
public static final int YP_TRUE
public static final int YP_NOMORE
public static final int YP_FALSE
public static final int YP_NOMAP
public static final int YP_NODOM
public static final int YP_NOKEY
public static final int YP_BADOP
public static final int YP_BADDB
public static final int YP_YPERR
public static final int YP_BADARGS
public static final int YP_VERS
public static final int YPXFR_SUCC
public static final int YPXFR_AGE
public static final int YPXFR_NOMAP
public static final int YPXFR_NODOM
public static final int YPXFR_RSRC
public static final int YPXFR_RPC
public static final int YPXFR_MADDR
public static final int YPXFR_YPERR
public static final int YPXFR_BADARGS
public static final int YPXFR_DBM
public static final int YPXFR_FILE
public static final int YPXFR_SKEW
public static final int YPXFR_CLEAR
public static final int YPXFR_FORCE
public static final int YPXFR_XFRERR
public static final int YPXFR_REFUSED
public static final int YPPUSH_SUCC
public static final int YPPUSH_AGE
public static final int YPPUSH_NOMAP
public static final int YPPUSH_NODOM
public static final int YPPUSH_RSRC
public static final int YPPUSH_RPC
public static final int YPPUSH_MADDR
public static final int YPPUSH_YPERR
public static final int YPPUSH_BADARGS
public static final int YPPUSH_DBM
public static final int YPPUSH_FILE
public static final int YPPUSH_SKEW
public static final int YPPUSH_CLEAR
public static final int YPPUSH_FORCE
public static final int YPPUSH_XFRERR
public static final int YPPUSH_REFUSED
public static final int YPBIND_SUCC_VAL
public static final int YPBIND_FAIL_VAL
public static final int YPBIND_ERR_ERR
public static final int YPBIND_ERR_NOSERV
public static final int YPBIND_ERR_RESC
public static final int YPPROG
public static final int YPVERS
public static final int YPPROC_NULL
public static final int YPPROC_DOMAIN
public static final int YPPROC_DOMAIN_NONACK
public static final int YPPROC_MATCH
public static final int YPPROC_FIRST
public static final int YPPROC_NEXT
public static final int YPPROC_XFR
public static final int YPPROC_CLEAR
public static final int YPPROC_ALL
public static final int YPPROC_MASTER
public static final int YPPROC_ORDER
public static final int YPPROC_MAPLIST
| Constructor Detail |
public yp(java.net.InetAddress host,
boolean stream)
throws RPCError
host - The host on which the server lives.stream - true for a TCP connection, false for UDP.RPCError - When the calls fails for any reason.
public yp(java.net.InetAddress host,
int port,
boolean stream)
throws RPCError
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.RPCError - When the calls fails for any reason.public yp(ClientGeneric protocol)
protocol - The protocol object that implements the client connection.| Method Detail |
public void YPPROC_NULL_2()
throws RPCError,
java.io.IOException
java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public boolean YPPROC_DOMAIN_2(domainname arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public boolean YPPROC_DOMAIN_NONACK_2(domainname arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_val YPPROC_MATCH_2(ypreq_key arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_key_val YPPROC_FIRST_2(ypreq_key arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_key_val YPPROC_NEXT_2(ypreq_key arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_xfr YPPROC_XFR_2(ypreq_xfr arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public void YPPROC_CLEAR_2()
throws RPCError,
java.io.IOException
java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_all YPPROC_ALL_2(ypreq_nokey arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_master YPPROC_MASTER_2(ypreq_nokey arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_order YPPROC_ORDER_2(ypreq_nokey arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
public ypresp_maplist YPPROC_MAPLIST_2(domainname arg)
throws RPCError,
java.io.IOException
arg - The input parameter of the RPC.java.io.IOException - When the RPC fails because the socket connetion fails.RPCError - When the RPC fails for any other reason.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||