com.distinct.rpc.yp
Class YPPUSH_XFRRESPPROG

java.lang.Object
  |
  +--com.distinct.rpc.JRPCClient
        |
        +--com.distinct.rpc.yp.YPPUSH_XFRRESPPROG
All Implemented Interfaces:
java.io.Serializable

public class YPPUSH_XFRRESPPROG
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 "YPPUSH_XFRRESPPROG" interface.

See Also:
Serialized Form

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 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_XFRRESPPROG
          Program ID of the interface.
static int YPPUSH_XFRRESPVERS
          Version ID of the interface.
static int YPPUSH_YPERR
          Constant for enum yppush_status
static int YPPUSHPROC_NULL
           
static int YPPUSHPROC_XFRRESP
           
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
YPPUSH_XFRRESPPROG(ClientGeneric protocol)
          Creates an RPC client for a server that implements the "YPPUSH_XFRRESPPROG" interface.
YPPUSH_XFRRESPPROG(java.net.InetAddress host, boolean stream)
          Creates and connects an RPC client for a server that implements the "YPPUSH_XFRRESPPROG" interface.
YPPUSH_XFRRESPPROG(java.net.InetAddress host, int port, boolean stream)
          Creates and connects an RPC client for a server that implements the "YPPUSH_XFRRESPPROG" interface.
 
Method Summary
 void YPPUSHPROC_NULL_1()
          Stub method that invokes the server function "YPPUSHPROC_NULL" (version 1).
 yppushresp_xfr YPPUSHPROC_XFRRESP_1()
          Stub method that invokes the server function "YPPUSHPROC_XFRRESP" (version 1).
 
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

YPMAXRECORD

public static final int YPMAXRECORD
See Also:
Constant Field Values

YPMAXDOMAIN

public static final int YPMAXDOMAIN
See Also:
Constant Field Values

YPMAXMAP

public static final int YPMAXMAP
See Also:
Constant Field Values

YPMAXPEER

public static final int YPMAXPEER
See Also:
Constant Field Values

YP_TRUE

public static final int YP_TRUE
Constant for enum ypstat

See Also:
Constant Field Values

YP_NOMORE

public static final int YP_NOMORE
Constant for enum ypstat

See Also:
Constant Field Values

YP_FALSE

public static final int YP_FALSE
Constant for enum ypstat

See Also:
Constant Field Values

YP_NOMAP

public static final int YP_NOMAP
Constant for enum ypstat

See Also:
Constant Field Values

YP_NODOM

public static final int YP_NODOM
Constant for enum ypstat

See Also:
Constant Field Values

YP_NOKEY

public static final int YP_NOKEY
Constant for enum ypstat

See Also:
Constant Field Values

YP_BADOP

public static final int YP_BADOP
Constant for enum ypstat

See Also:
Constant Field Values

YP_BADDB

public static final int YP_BADDB
Constant for enum ypstat

See Also:
Constant Field Values

YP_YPERR

public static final int YP_YPERR
Constant for enum ypstat

See Also:
Constant Field Values

YP_BADARGS

public static final int YP_BADARGS
Constant for enum ypstat

See Also:
Constant Field Values

YP_VERS

public static final int YP_VERS
Constant for enum ypstat

See Also:
Constant Field Values

YPXFR_SUCC

public static final int YPXFR_SUCC
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_AGE

public static final int YPXFR_AGE
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_NOMAP

public static final int YPXFR_NOMAP
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_NODOM

public static final int YPXFR_NODOM
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_RSRC

public static final int YPXFR_RSRC
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_RPC

public static final int YPXFR_RPC
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_MADDR

public static final int YPXFR_MADDR
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_YPERR

public static final int YPXFR_YPERR
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_BADARGS

public static final int YPXFR_BADARGS
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_DBM

public static final int YPXFR_DBM
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_FILE

public static final int YPXFR_FILE
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_SKEW

public static final int YPXFR_SKEW
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_CLEAR

public static final int YPXFR_CLEAR
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_FORCE

public static final int YPXFR_FORCE
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_XFRERR

public static final int YPXFR_XFRERR
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPXFR_REFUSED

public static final int YPXFR_REFUSED
Constant for enum ypxfrstat

See Also:
Constant Field Values

YPPUSH_SUCC

public static final int YPPUSH_SUCC
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_AGE

public static final int YPPUSH_AGE
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_NOMAP

public static final int YPPUSH_NOMAP
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_NODOM

public static final int YPPUSH_NODOM
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_RSRC

public static final int YPPUSH_RSRC
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_RPC

public static final int YPPUSH_RPC
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_MADDR

public static final int YPPUSH_MADDR
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_YPERR

public static final int YPPUSH_YPERR
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_BADARGS

public static final int YPPUSH_BADARGS
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_DBM

public static final int YPPUSH_DBM
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_FILE

public static final int YPPUSH_FILE
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_SKEW

public static final int YPPUSH_SKEW
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_CLEAR

public static final int YPPUSH_CLEAR
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_FORCE

public static final int YPPUSH_FORCE
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_XFRERR

public static final int YPPUSH_XFRERR
Constant for enum yppush_status

See Also:
Constant Field Values

YPPUSH_REFUSED

public static final int YPPUSH_REFUSED
Constant for enum yppush_status

See Also:
Constant Field Values

YPBIND_SUCC_VAL

public static final int YPBIND_SUCC_VAL
Constant for enum ypbind_resptype

See Also:
Constant Field Values

YPBIND_FAIL_VAL

public static final int YPBIND_FAIL_VAL
Constant for enum ypbind_resptype

See Also:
Constant Field Values

YPBIND_ERR_ERR

public static final int YPBIND_ERR_ERR
See Also:
Constant Field Values

YPBIND_ERR_NOSERV

public static final int YPBIND_ERR_NOSERV
See Also:
Constant Field Values

YPBIND_ERR_RESC

public static final int YPBIND_ERR_RESC
See Also:
Constant Field Values

YPPUSH_XFRRESPPROG

public static final int YPPUSH_XFRRESPPROG
Program ID of the interface.

See Also:
Constant Field Values

YPPUSH_XFRRESPVERS

public static final int YPPUSH_XFRRESPVERS
Version ID of the interface.

See Also:
Constant Field Values

YPPUSHPROC_NULL

public static final int YPPUSHPROC_NULL
See Also:
Constant Field Values

YPPUSHPROC_XFRRESP

public static final int YPPUSHPROC_XFRRESP
See Also:
Constant Field Values
Constructor Detail

YPPUSH_XFRRESPPROG

public YPPUSH_XFRRESPPROG(java.net.InetAddress host,
                          boolean stream)
                   throws RPCError
Creates and connects an RPC client for a server that implements the "YPPUSH_XFRRESPPROG" 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.

YPPUSH_XFRRESPPROG

public YPPUSH_XFRRESPPROG(java.net.InetAddress host,
                          int port,
                          boolean stream)
                   throws RPCError
Creates and connects an RPC client for a server that implements the "YPPUSH_XFRRESPPROG" 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.

YPPUSH_XFRRESPPROG

public YPPUSH_XFRRESPPROG(ClientGeneric protocol)
Creates an RPC client for a server that implements the "YPPUSH_XFRRESPPROG" interface. It initializes it with a externally created protocol client object.

Parameters:
protocol - The protocol object that implements the client connection.
Method Detail

YPPUSHPROC_NULL_1

public void YPPUSHPROC_NULL_1()
                       throws RPCError,
                              java.io.IOException
Stub method that invokes the server function "YPPUSHPROC_NULL" (version 1).

Throws:
java.io.IOException - When the RPC fails because the socket connetion fails.
RPCError - When the RPC fails for any other reason.

YPPUSHPROC_XFRRESP_1

public yppushresp_xfr YPPUSHPROC_XFRRESP_1()
                                    throws RPCError,
                                           java.io.IOException
Stub method that invokes the server function "YPPUSHPROC_XFRRESP" (version 1).

Returns:
The return value of the RPC.
Throws:
java.io.IOException - When the RPC fails because the socket connetion fails.
RPCError - When the RPC fails for any other reason.