Package | Description |
---|---|
org.acplt.oncrpc |
Sun's ONC/RPC Remote Procedure Call mechanism.
|
org.acplt.oncrpc.apps.jportmap |
Java-based portmap
|
org.acplt.oncrpc.server |
ONC/RPC Server support package.
|
Modifier and Type | Class and Description |
---|---|
class |
OncRpcAuthenticationException
The class
OncRpcAuthenticationException indicates an
authentication exception. |
class |
OncRpcProgramNotRegisteredException
The class
OncRpcProgramNotRegisteredException indicates
that the requests ONC/RPC program is not available at the specified host. |
class |
OncRpcTimeoutException
The class
OncRpcTimeoutException indicates a timed out
call exception. |
Modifier and Type | Method and Description |
---|---|
OncRpcException |
OncRpcClientReplyMessage.newException()
Return an appropriate exception object according to the state this
reply message header object is in.
|
Modifier and Type | Method and Description |
---|---|
void |
OncRpcTcpClient.batchCall(int procedureNumber,
XdrAble params,
boolean flush)
Issues a batched call for a remote procedure to an ONC/RPC server.
|
abstract void |
XdrDecodingStream.beginDecoding()
Initiates decoding of the next XDR record.
|
void |
XdrUdpDecodingStream.beginDecoding()
Initiates decoding of the next XDR record.
|
void |
XdrHttpDecodingStream.beginDecoding()
Initiates decoding of the next XDR record.
|
void |
XdrTcpDecodingStream.beginDecoding()
Initiates decoding of the next XDR record.
|
void |
XdrBufferDecodingStream.beginDecoding()
Initiates decoding of the next XDR record.
|
void |
XdrTcpEncodingStream.beginEncoding(InetAddress receiverAddress,
int receiverPort)
Begins encoding a new XDR record.
|
void |
XdrUdpEncodingStream.beginEncoding(InetAddress receiverAddress,
int receiverPort)
Begins encoding a new XDR record.
|
void |
XdrEncodingStream.beginEncoding(InetAddress receiverAddress,
int receiverPort)
Begins encoding a new XDR record.
|
void |
XdrBufferEncodingStream.beginEncoding(InetAddress receiverAddress,
int receiverPort)
Begins encoding a new XDR record.
|
void |
OncRpcUdpClient.broadcastCall(int procedureNumber,
XdrAble params,
XdrAble result,
OncRpcBroadcastListener listener)
Broadcast a remote procedure call to several ONC/RPC servers.
|
abstract void |
OncRpcClient.call(int procedureNumber,
int versionNumber,
XdrAble parameters,
XdrAble result)
Calls a remote procedure on an ONC/RPC server.
|
void |
OncRpcTcpClient.call(int procedureNumber,
int versionNumber,
XdrAble params,
XdrAble result)
Calls a remote procedure on an ONC/RPC server.
|
void |
OncRpcHttpClient.call(int procedureNumber,
int versionNumber,
XdrAble params,
XdrAble result)
Calls a remote procedure on an ONC/RPC server.
|
void |
OncRpcUdpClient.call(int procedureNumber,
int versionNumber,
XdrAble params,
XdrAble result)
Calls a remote procedure on an ONC/RPC server.
|
void |
OncRpcClient.call(int procedureNumber,
XdrAble params,
XdrAble result)
Calls a remote procedure on an ONC/RPC server.
|
void |
OncRpcPortmapClient.close()
Closes the connection to the portmapper.
|
void |
OncRpcClient.close()
Close the connection to an ONC/RPC server and free all network-related
resources.
|
void |
OncRpcTcpClient.close()
Close the connection to an ONC/RPC server and free all network-related
resources.
|
void |
XdrDecodingStream.close()
Closes this decoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrTcpEncodingStream.close()
Closes this encoding XDR stream and releases any system resources
associated with this stream.
|
void |
OncRpcClientStub.close()
Close the connection to an ONC/RPC server and free all network-related
resources.
|
void |
XdrUdpEncodingStream.close()
Closes this encoding XDR stream and releases any system resources
associated with this stream.
|
void |
OncRpcHttpClient.close()
Close the connection to an ONC/RPC server and free all network-related
resources.
|
void |
OncRpcUdpClient.close()
Close the connection to an ONC/RPC server and free all network-related
resources.
|
void |
XdrUdpDecodingStream.close()
Closes this decoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrHttpDecodingStream.close()
Closes this decoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrEncodingStream.close()
Closes this encoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrTcpDecodingStream.close()
Closes this decoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrBufferEncodingStream.close()
Closes this encoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrBufferDecodingStream.close()
Closes this decoding XDR stream and releases any system resources
associated with this stream.
|
void |
XdrDecodingStream.endDecoding()
End decoding of the current XDR record.
|
void |
XdrUdpDecodingStream.endDecoding()
End decoding of the current XDR record.
|
void |
XdrHttpDecodingStream.endDecoding()
End decoding of the current XDR record.
|
void |
XdrTcpDecodingStream.endDecoding()
End decoding of the current XDR record.
|
void |
XdrBufferDecodingStream.endDecoding()
End decoding of the current XDR record.
|
void |
XdrTcpEncodingStream.endEncoding()
Flushes this encoding XDR stream and forces any buffered output bytes
to be written out.
|
void |
XdrUdpEncodingStream.endEncoding()
Flushes this encoding XDR stream and forces any buffered output bytes
to be written out.
|
void |
XdrEncodingStream.endEncoding()
Flushes this encoding XDR stream and forces any buffered output bytes
to be written out.
|
void |
XdrBufferEncodingStream.endEncoding()
Flushes this encoding XDR stream and forces any buffered output bytes
to be written out.
|
void |
XdrTcpEncodingStream.endEncoding(boolean flush)
Ends the current record fort this encoding XDR stream.
|
int |
OncRpcPortmapClient.getPort(int program,
int version,
int protocol)
Asks the portmapper this
OncRpcPortmapClient object is
a proxy for, for the port number of a particular ONC/RPC server
identified by the information tuple {program number, program version,
protocol}. |
OncRpcServerIdent[] |
OncRpcPortmapClient.listServers()
Retrieves a list of all registered ONC/RPC servers at the same host
as the contacted portmapper.
|
static OncRpcClient |
OncRpcClient.newOncRpcClient(InetAddress host,
int program,
int version,
int protocol)
Creates a new ONC/RPC client object, which can handle the requested
protocol . |
static OncRpcClient |
OncRpcClient.newOncRpcClient(InetAddress host,
int program,
int version,
int port,
int protocol)
Creates a new ONC/RPC client object, which can handle the requested
protocol . |
void |
OncRpcClientStub.nullproc()
Calls the "null procedure", which should always be provided
by a remote ONC/RPC server.
|
void |
OncRpcPortmapClient.ping()
Ping the portmapper (try to call procedure 0).
|
boolean |
OncRpcPortmapClient.setPort(int program,
int version,
int protocol,
int port)
Register an ONC/RPC with the given program number, version and protocol
at the given port with the portmapper.
|
boolean |
OncRpcPortmapClient.unsetPort(int program,
int version)
Unregister an ONC/RPC with the given program number and version.
|
void |
XdrDynamicOpaque.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR opaque from a XDR stream in
compliance to RFC 1832.
|
void |
OncRpcServerIdent.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an OncRpcServerIdent object
from a XDR stream.
|
void |
XdrOpaque.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR opaque from a XDR stream in
compliance to RFC 1832.
|
void |
XdrString.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR string from a XDR stream in
compliance to RFC 1832.
|
void |
XdrUnion.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an object from a XDR stream in
compliance to RFC 1832.
|
void |
XdrByte.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR byte from a XDR stream in
compliance to RFC 1832.
|
void |
OncRpcClientReplyMessage.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a ONC/RPC message header object
from a XDR stream.
|
void |
XdrVoid.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a void from a XDR stream in
compliance to RFC 1832.
|
void |
XdrFloat.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR float from a XDR stream in
compliance to RFC 1832.
|
void |
XdrDouble.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR double from a XDR stream in
compliance to RFC 1832.
|
void |
XdrShort.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR short from a XDR stream in
compliance to RFC 1832.
|
void |
XdrLong.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR long from a XDR stream in
compliance to RFC 1832.
|
void |
OncRpcDumpResult.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- the result from a PMAP_DUMP remote
procedure call from a XDR stream.
|
void |
OncRpcGetPortResult.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an
OncRpcGetPortParams
object from a XDR stream. |
void |
XdrAble.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an object from a XDR stream in
compliance to RFC 1832.
|
void |
XdrChar.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR char from a XDR stream in
compliance to RFC 1832.
|
void |
XdrInt.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR int from a XDR stream in
compliance to RFC 1832.
|
void |
XdrBytes.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR bytes value from a XDR stream in
compliance to RFC 1832.
|
void |
XdrBoolean.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a XDR boolean from a XDR stream in
compliance to RFC 1832.
|
boolean |
XdrDecodingStream.xdrDecodeBoolean()
Decodes (aka "deserializes") a boolean read from a XDR stream.
|
boolean[] |
XdrDecodingStream.xdrDecodeBooleanFixedVector(int length)
Decodes (aka "deserializes") a vector of booleans read from a XDR stream.
|
boolean[] |
XdrDecodingStream.xdrDecodeBooleanVector()
Decodes (aka "deserializes") a vector of booleans read from a XDR stream.
|
byte |
XdrDecodingStream.xdrDecodeByte()
Decodes (aka "deserializes") a byte read from this XDR stream.
|
byte[] |
XdrDecodingStream.xdrDecodeByteFixedVector(int length)
Decodes (aka "deserializes") a vector of bytes, which is nothing more
than a series of octets (or 8 bits wide bytes), each packed into its
very own 4 bytes (XDR int).
|
byte[] |
XdrDecodingStream.xdrDecodeByteVector()
Decodes (aka "deserializes") a vector of bytes, which is nothing more
than a series of octets (or 8 bits wide bytes), each packed into its
very own 4 bytes (XDR int).
|
abstract void |
XdrUnion.xdrDecodeCommon(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- the common part of an object from
a XDR stream in compliance to RFC 1832.
|
double |
XdrDecodingStream.xdrDecodeDouble()
Decodes (aka "deserializes") a double (which is a 64 bits wide floating
point entity) read from a XDR stream.
|
double[] |
XdrDecodingStream.xdrDecodeDoubleFixedVector(int length)
Decodes (aka "deserializes") a vector of doubles read from a XDR stream.
|
double[] |
XdrDecodingStream.xdrDecodeDoubleVector()
Decodes (aka "deserializes") a vector of doubles read from a XDR stream.
|
byte[] |
XdrDecodingStream.xdrDecodeDynamicOpaque()
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values.
|
float |
XdrDecodingStream.xdrDecodeFloat()
Decodes (aka "deserializes") a float (which is a 32 bits wide floating
point entity) read from a XDR stream.
|
float[] |
XdrDecodingStream.xdrDecodeFloatFixedVector(int length)
Decodes (aka "deserializes") a vector of floats read from a XDR stream.
|
float[] |
XdrDecodingStream.xdrDecodeFloatVector()
Decodes (aka "deserializes") a vector of floats read from a XDR stream.
|
abstract int |
XdrDecodingStream.xdrDecodeInt()
Decodes (aka "deserializes") a "XDR int" value received from a
XDR stream.
|
int |
XdrUdpDecodingStream.xdrDecodeInt()
Decodes (aka "deserializes") a "XDR int" value received from a
XDR stream.
|
int |
XdrHttpDecodingStream.xdrDecodeInt()
Decodes (aka "deserializes") a "XDR int" value received from a
XDR stream.
|
int |
XdrTcpDecodingStream.xdrDecodeInt()
Decodes (aka "deserializes") a "XDR int" value received from a
XDR stream.
|
int |
XdrBufferDecodingStream.xdrDecodeInt()
Decodes (aka "deserializes") a "XDR int" value received from a
XDR stream.
|
int[] |
XdrDecodingStream.xdrDecodeIntFixedVector(int length)
Decodes (aka "deserializes") a vector of ints read from a XDR stream.
|
int[] |
XdrDecodingStream.xdrDecodeIntVector()
Decodes (aka "deserializes") a vector of ints read from a XDR stream.
|
long |
XdrDecodingStream.xdrDecodeLong()
Decodes (aka "deserializes") a long (which is called a "hyper" in XDR
babble and is 64 bits wide) read from a XDR stream.
|
long[] |
XdrDecodingStream.xdrDecodeLongFixedVector(int length)
Decodes (aka "deserializes") a vector of longs read from a XDR stream.
|
long[] |
XdrDecodingStream.xdrDecodeLongVector()
Decodes (aka "deserializes") a vector of longs read from a XDR stream.
|
void |
XdrDecodingStream.xdrDecodeOpaque(byte[] opaque)
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values.
|
abstract void |
XdrDecodingStream.xdrDecodeOpaque(byte[] opaque,
int offset,
int length)
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrUdpDecodingStream.xdrDecodeOpaque(byte[] opaque,
int offset,
int length)
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrHttpDecodingStream.xdrDecodeOpaque(byte[] opaque,
int offset,
int length)
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrTcpDecodingStream.xdrDecodeOpaque(byte[] opaque,
int offset,
int length)
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrBufferDecodingStream.xdrDecodeOpaque(byte[] opaque,
int offset,
int length)
Decodes (aka "deserializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
abstract byte[] |
XdrDecodingStream.xdrDecodeOpaque(int length)
Decodes (aka "deserializes") an opaque value, which is nothing more
than a series of octets (or 8 bits wide bytes).
|
byte[] |
XdrUdpDecodingStream.xdrDecodeOpaque(int length)
Decodes (aka "deserializes") an opaque value, which is nothing more
than a series of octets (or 8 bits wide bytes).
|
byte[] |
XdrHttpDecodingStream.xdrDecodeOpaque(int length)
Decodes (aka "deserializes") an opaque value, which is nothing more
than a series of octets (or 8 bits wide bytes).
|
byte[] |
XdrTcpDecodingStream.xdrDecodeOpaque(int length)
Decodes (aka "deserializes") an opaque value, which is nothing more
than a series of octets (or 8 bits wide bytes).
|
byte[] |
XdrBufferDecodingStream.xdrDecodeOpaque(int length)
Decodes (aka "deserializes") an opaque value, which is nothing more
than a series of octets (or 8 bits wide bytes).
|
short |
XdrDecodingStream.xdrDecodeShort()
Decodes (aka "deserializes") a short (which is a 16 bit quantity)
read from this XDR stream.
|
short[] |
XdrDecodingStream.xdrDecodeShortFixedVector(int length)
Decodes (aka "deserializes") a vector of short integers read from a
XDR stream.
|
short[] |
XdrDecodingStream.xdrDecodeShortVector()
Decodes (aka "deserializes") a vector of short integers read from a
XDR stream.
|
String |
XdrDecodingStream.xdrDecodeString()
Decodes (aka "deserializes") a string read from a XDR stream.
|
String[] |
XdrDecodingStream.xdrDecodeStringFixedVector(int length)
Decodes (aka "deserializes") a vector of strings read from a XDR stream.
|
String[] |
XdrDecodingStream.xdrDecodeStringVector()
Decodes (aka "deserializes") a vector of strings read from a XDR stream.
|
abstract void |
XdrUnion.xdrDecodeVariant(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- the variant part of an object from
a XDR stream in compliance to RFC 1832.
|
protected void |
OncRpcClientAuthUnix.xdrDecodeVerf(XdrDecodingStream xdr)
Decodes ONC/RPC authentication information in form of a verifier
when receiving an ONC/RPC reply message.
|
protected void |
OncRpcClientAuthNone.xdrDecodeVerf(XdrDecodingStream xdr)
Decodes ONC/RPC authentication information in form of a verifier
when receiving an ONC/RPC reply message.
|
protected abstract void |
OncRpcClientAuth.xdrDecodeVerf(XdrDecodingStream xdr)
Decodes ONC/RPC authentication information in form of a verifier
when receiving an ONC/RPC reply message.
|
void |
XdrDynamicOpaque.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR opaque into a XDR stream in
compliance to RFC 1832.
|
void |
OncRpcServerIdent.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an OncRpcServerIdent object
into a XDR stream.
|
void |
XdrOpaque.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR opaque into a XDR stream in
compliance to RFC 1832.
|
void |
XdrString.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR string into a XDR stream in
compliance to RFC 1832.
|
void |
XdrUnion.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an object into a XDR stream in
compliance to RFC 1832.
|
void |
XdrByte.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR byte into a XDR stream in
compliance to RFC 1832.
|
void |
XdrVoid.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a void into a XDR stream in
compliance to RFC 1832.
|
void |
XdrFloat.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR float into a XDR stream in
compliance to RFC 1832.
|
void |
XdrDouble.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR double into a XDR stream in
compliance to RFC 1832.
|
void |
XdrShort.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR short into a XDR stream in
compliance to RFC 1832.
|
void |
OncRpcClientCallMessage.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a ONC/RPC message header object
into a XDR stream according to RFC 1831.
|
void |
XdrLong.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR long into a XDR stream in
compliance to RFC 1832.
|
void |
OncRpcDumpResult.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- the result of a PMAP_DUMP operationg
into a XDR stream.
|
void |
OncRpcGetPortResult.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an
OncRpcGetPortParams
object into a XDR stream. |
void |
XdrAble.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an object into a XDR stream in
compliance to RFC 1832.
|
void |
XdrChar.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR char into a XDR stream in
compliance to RFC 1832.
|
void |
XdrInt.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR int into a XDR stream in
compliance to RFC 1832.
|
void |
XdrBytes.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR bytes value into a XDR stream in
compliance to RFC 1832.
|
void |
XdrBoolean.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a XDR boolean into a XDR stream in
compliance to RFC 1832.
|
void |
XdrEncodingStream.xdrEncodeBoolean(boolean value)
Encodes (aka "serializes") a boolean and writes it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeBooleanFixedVector(boolean[] value,
int length)
Encodes (aka "serializes") a vector of booleans and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeBooleanVector(boolean[] value)
Encodes (aka "serializes") a vector of booleans and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeByte(byte value)
Encodes (aka "serializes") a byte and write it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeByteFixedVector(byte[] value,
int length)
Encodes (aka "serializes") a vector of bytes, which is nothing more
than a series of octets (or 8 bits wide bytes), each packed into its
very own 4 bytes (XDR int).
|
void |
XdrEncodingStream.xdrEncodeByteVector(byte[] value)
Encodes (aka "serializes") a vector of bytes, which is nothing more
than a series of octets (or 8 bits wide bytes), each packed into its
very own 4 bytes (XDR int).
|
abstract void |
XdrUnion.xdrEncodeCommon(XdrEncodingStream xdr)
Encodes -- that is: serializes -- the common part of an object into
a XDR stream in compliance to RFC 1832.
|
protected void |
OncRpcClientAuthUnix.xdrEncodeCredVerf(XdrEncodingStream xdr)
Encodes ONC/RPC authentication information in form of a credential
and a verifier when sending an ONC/RPC call message.
|
protected void |
OncRpcClientAuthNone.xdrEncodeCredVerf(XdrEncodingStream xdr)
Encodes ONC/RPC authentication information in form of a credential
and a verifier when sending an ONC/RPC call message.
|
protected abstract void |
OncRpcClientAuth.xdrEncodeCredVerf(XdrEncodingStream xdr)
Encodes ONC/RPC authentication information in form of a credential
and a verifier when sending an ONC/RPC call message.
|
void |
XdrEncodingStream.xdrEncodeDouble(double value)
Encodes (aka "serializes") a double (which is a 64 bits wide floating
point quantity) and write it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeDoubleFixedVector(double[] value,
int length)
Encodes (aka "serializes") a vector of doubles and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeDoubleVector(double[] value)
Encodes (aka "serializes") a vector of doubles and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeDynamicOpaque(byte[] value)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values.
|
void |
XdrEncodingStream.xdrEncodeFloat(float value)
Encodes (aka "serializes") a float (which is a 32 bits wide floating
point quantity) and write it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeFloatFixedVector(float[] value,
int length)
Encodes (aka "serializes") a vector of floats and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeFloatVector(float[] value)
Encodes (aka "serializes") a vector of floats and writes it down
this XDR stream.
|
void |
XdrTcpEncodingStream.xdrEncodeInt(int value)
Encodes (aka "serializes") a "XDR int" value and writes it down a
XDR stream.
|
void |
XdrUdpEncodingStream.xdrEncodeInt(int value)
Encodes (aka "serializes") a "XDR int" value and writes it down a
XDR stream.
|
abstract void |
XdrEncodingStream.xdrEncodeInt(int value)
Encodes (aka "serializes") a "XDR int" value and writes it down a
XDR stream.
|
void |
XdrBufferEncodingStream.xdrEncodeInt(int value)
Encodes (aka "serializes") a "XDR int" value and writes it down a
XDR stream.
|
void |
XdrEncodingStream.xdrEncodeIntFixedVector(int[] value,
int length)
Encodes (aka "serializes") a vector of ints and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeIntVector(int[] value)
Encodes (aka "serializes") a vector of ints and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeLong(long value)
Encodes (aka "serializes") a long (which is called a "hyper" in XDR
babble and is 64 bits wide) and write it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeLongFixedVector(long[] value,
int length)
Encodes (aka "serializes") a vector of long integers and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeLongVector(long[] value)
Encodes (aka "serializes") a vector of long integers and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeOpaque(byte[] value)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values.
|
void |
XdrEncodingStream.xdrEncodeOpaque(byte[] value,
int length)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values.
|
void |
XdrTcpEncodingStream.xdrEncodeOpaque(byte[] value,
int offset,
int length)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrUdpEncodingStream.xdrEncodeOpaque(byte[] value,
int offset,
int length)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
abstract void |
XdrEncodingStream.xdrEncodeOpaque(byte[] value,
int offset,
int length)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrBufferEncodingStream.xdrEncodeOpaque(byte[] value,
int offset,
int length)
Encodes (aka "serializes") a XDR opaque value, which is represented
by a vector of byte values, and starts at
offset with a
length of length . |
void |
XdrEncodingStream.xdrEncodeShort(short value)
Encodes (aka "serializes") a short (which is a 16 bits wide quantity)
and write it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeShortFixedVector(short[] value,
int length)
Encodes (aka "serializes") a vector of short integers and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeShortVector(short[] value)
Encodes (aka "serializes") a vector of short integers and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeString(String value)
Encodes (aka "serializes") a string and writes it down this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeStringFixedVector(String[] value,
int length)
Encodes (aka "serializes") a vector of strings and writes it down
this XDR stream.
|
void |
XdrEncodingStream.xdrEncodeStringVector(String[] value)
Encodes (aka "serializes") a vector of strings and writes it down
this XDR stream.
|
abstract void |
XdrUnion.xdrEncodeVariant(XdrEncodingStream xdr)
Encodes -- that is: serializes -- the variant part of an object into
a XDR stream in compliance to RFC 1832.
|
Constructor and Description |
---|
OncRpcClient(InetAddress host,
int program,
int version,
int port,
int protocol)
Constructs an
OncRpcClient object (the generic part). |
OncRpcClientStub(InetAddress host,
int program,
int version,
int port,
int protocol)
Construct a new
OncRpcClientStub for communication with
a remote ONC/RPC server. |
OncRpcClientStub(OncRpcClient client)
Construct a new
OncRpcClientStub which uses the given
client proxy object for communication with a remote ONC/RPC server. |
OncRpcHttpClient(String hostname,
int httpPort,
String cgiHandlerPath,
String oncrpcHostname,
int program,
int version,
int port,
int protocol)
Constructs a new
OncRpcHttpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcHttpClient(String hostname,
String cgiHandlerPath,
String oncrpcHostname,
int program,
int version,
int port)
Constructs a new
OncRpcHttpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcHttpClient(String hostname,
String cgiHandlerPath,
String oncrpcHostname,
int program,
int version,
int port,
int protocol)
Constructs a new
OncRpcHttpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcPortmapClient(InetAddress host)
Constructs and initializes an ONC/RPC client object, which can
communicate with the portmapper at the specified host using the
UDP/IP datagram-oriented internet protocol.
|
OncRpcPortmapClient(InetAddress host,
int protocol)
Constructs and initializes an ONC/RPC client object, which can
communicate with the portmapper at the given host using the
speicified protocol.
|
OncRpcPortmapClient(InetAddress host,
int protocol,
int timeout)
Constructs and initializes an ONC/RPC client object, which can
communicate with the portmapper at the given host using the
speicified protocol.
|
OncRpcServerIdent(XdrDecodingStream xdr)
Constructs an
OncRpcServerIdent object and restores
its state from the given XDR stream. |
OncRpcTcpClient(InetAddress host,
int program,
int version)
Constructs a new
OncRpcTcpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcTcpClient(InetAddress host,
int program,
int version,
int port)
Constructs a new
OncRpcTcpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcTcpClient(InetAddress host,
int program,
int version,
int port,
int bufferSize)
Constructs a new
OncRpcTcpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcTcpClient(InetAddress host,
int program,
int version,
int port,
int bufferSize,
int timeout)
Constructs a new
OncRpcTcpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcUdpClient(InetAddress host,
int program,
int version,
int port)
Constructs a new
OncRpcUdpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
OncRpcUdpClient(InetAddress host,
int program,
int version,
int port,
int bufferSize)
Constructs a new
OncRpcUdpClient object, which connects
to the ONC/RPC server at host for calling remote procedures
of the given { program, version }. |
Modifier and Type | Method and Description |
---|---|
void |
jportmap.dispatchOncRpcCall(OncRpcCallInformation call,
int program,
int version,
int procedure)
Dispatch incomming ONC/RPC calls to the individual handler functions.
|
Constructor and Description |
---|
jportmap()
Create a new portmap instance, create the transport registration
information and UDP and TCP-based transports, which will be bound
later to port 111.
|
OncRpcEmbeddedPortmap()
Constructs an embeddable portmap service of class
OncRpcEmbeddedPortmap and starts the service if no
other (external) portmap service is available. |
OncRpcEmbeddedPortmap(int checkTimeout)
Constructs an embeddable portmap service of class
OncRpcEmbeddedPortmap and starts the service if no
other (external) portmap service is available. |
Modifier and Type | Method and Description |
---|---|
void |
OncRpcCallInformation.beginEncoding()
Begins the sending phase for accepted ONC/RPC replies.
|
protected void |
OncRpcUdpServerTransport.beginEncoding(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state)
Begins the sending phase for ONC/RPC replies.
|
protected void |
OncRpcTcpServerTransport.beginEncoding(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state)
Do not call.
|
protected abstract void |
OncRpcServerTransport.beginEncoding(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state)
Begins the sending phase for ONC/RPC replies.
|
protected void |
OncRpcTcpConnectionServerTransport.beginEncoding(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state)
Begins the sending phase for ONC/RPC replies.
|
void |
OncRpcCallInformation.beginEncoding(OncRpcServerReplyMessage state)
Begins the sending phase for ONC/RPC replies.
|
void |
OncRpcDispatchable.dispatchOncRpcCall(OncRpcCallInformation call,
int program,
int version,
int procedure)
Dispatch (handle) an ONC/RPC request from a client.
|
protected void |
OncRpcUdpServerTransport.endDecoding()
Finishes call parameter deserialization.
|
protected void |
OncRpcTcpServerTransport.endDecoding()
Do not call.
|
protected abstract void |
OncRpcServerTransport.endDecoding()
Finishes call parameter deserialization.
|
void |
OncRpcCallInformation.endDecoding()
Finishes call parameter deserialization.
|
protected void |
OncRpcTcpConnectionServerTransport.endDecoding()
Finishes call parameter deserialization.
|
protected void |
OncRpcUdpServerTransport.endEncoding()
Finishes encoding the reply to this ONC/RPC call.
|
protected void |
OncRpcTcpServerTransport.endEncoding()
Do not call.
|
protected abstract void |
OncRpcServerTransport.endEncoding()
Finishes encoding the reply to this ONC/RPC call.
|
void |
OncRpcCallInformation.endEncoding()
Finishes encoding the reply to this ONC/RPC call.
|
protected void |
OncRpcTcpConnectionServerTransport.endEncoding()
Finishes encoding the reply to this ONC/RPC call.
|
void |
OncRpcCallInformation.failArgumentGarbage()
Send back an ONC/RPC failure indication about invalid arguments to the
caller who sent in this call.
|
void |
OncRpcCallInformation.failAuthenticationFailed(int authStatus)
Send back an ONC/RPC failure indication about a failed authentication
to the caller who sent in this call.
|
void |
OncRpcCallInformation.failOncRpcVersionMismatch()
Send back an ONC/RPC failure indication about a ONC/RPC version mismatch
call to the caller who sent in this call.
|
void |
OncRpcCallInformation.failProcedureUnavailable()
Send back an ONC/RPC failure indication about an unavailable procedure
call to the caller who sent in this call.
|
void |
OncRpcCallInformation.failProgramMismatch(int lowVersion,
int highVersion)
Send back an ONC/RPC failure indication about a program version mismatch
to the caller who sent in this call.
|
void |
OncRpcCallInformation.failProgramUnavailable()
Send back an ONC/RPC failure indication about an unavailable program
to the caller who sent in this call.
|
void |
OncRpcCallInformation.failSystemError()
Send back an ONC/RPC failure indication about a system error
to the caller who sent in this call.
|
void |
OncRpcUdpServerTransport.register()
Register the UDP/IP port where this server transport waits for incoming
requests with the ONC/RPC portmapper.
|
void |
OncRpcTcpServerTransport.register()
Register the TCP/IP port where this server transport waits for incoming
requests with the ONC/RPC portmapper.
|
abstract void |
OncRpcServerTransport.register()
Register the port where this server transport waits for incoming
requests with the ONC/RPC portmapper.
|
void |
OncRpcTcpConnectionServerTransport.register()
Do not call.
|
void |
OncRpcServerStub.register(OncRpcServerTransport[] transports)
Register a set of server transports with the local portmapper.
|
protected void |
OncRpcUdpServerTransport.reply(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state,
XdrAble reply)
Send back an ONC/RPC reply to the original caller.
|
protected void |
OncRpcTcpServerTransport.reply(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state,
XdrAble reply)
Do not call.
|
protected abstract void |
OncRpcServerTransport.reply(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state,
XdrAble reply)
Send back an ONC/RPC reply to the original caller.
|
protected void |
OncRpcTcpConnectionServerTransport.reply(OncRpcCallInformation callInfo,
OncRpcServerReplyMessage state,
XdrAble reply)
Send back an ONC/RPC reply to the original caller.
|
void |
OncRpcCallInformation.reply(OncRpcServerReplyMessage state,
XdrAble reply)
Send back an ONC/RPC reply to the caller who sent in this call.
|
void |
OncRpcCallInformation.reply(XdrAble reply)
Send back an ONC/RPC reply to the caller who sent in this call.
|
protected void |
OncRpcUdpServerTransport.retrieveCall(XdrAble call)
Retrieves the parameters sent within an ONC/RPC call message.
|
void |
OncRpcTcpServerTransport.retrieveCall(XdrAble call)
Do not call.
|
protected abstract void |
OncRpcServerTransport.retrieveCall(XdrAble call)
Retrieves the parameters sent within an ONC/RPC call message.
|
void |
OncRpcCallInformation.retrieveCall(XdrAble call)
Retrieves the parameters sent within an ONC/RPC call message.
|
void |
OncRpcTcpConnectionServerTransport.retrieveCall(XdrAble call)
Retrieves the parameters sent within an ONC/RPC call message.
|
void |
OncRpcServerStub.run()
All inclusive convenience method: register server transports with
portmapper, then run the call dispatcher until the server is signalled
to shut down, and finally deregister the transports.
|
void |
OncRpcServerTransport.unregister()
Unregisters the port where this server transport waits for incoming
requests from the ONC/RPC portmapper.
|
void |
OncRpcServerStub.unregister(OncRpcServerTransport[] transports)
Unregister a set of server transports from the local portmapper.
|
void |
OncRpcServerCallMessage.xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a ONC/RPC message header object
from a XDR stream according to RFC 1831.
|
void |
OncRpcServerAuthNone.xdrDecodeCredVerf(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an ONC/RPC authentication object
(credential & verifier) on the server side.
|
void |
OncRpcServerAuthUnix.xdrDecodeCredVerf(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an ONC/RPC authentication object
(credential & verifier) on the server side.
|
void |
OncRpcServerAuthShort.xdrDecodeCredVerf(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an ONC/RPC authentication object
(credential & verifier) on the server side.
|
void |
OncRpcServerAuth.xdrDecodeCredVerf(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an ONC/RPC authentication object
(credential & verifier) on the server side.
|
void |
OncRpcServerReplyMessage.xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a ONC/RPC reply header object
into a XDR stream.
|
void |
OncRpcServerAuthNone.xdrEncodeVerf(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an ONC/RPC authentication object
(its verifier) on the server side.
|
void |
OncRpcServerAuthUnix.xdrEncodeVerf(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an ONC/RPC authentication object
(its verifier) on the server side.
|
void |
OncRpcServerAuthShort.xdrEncodeVerf(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an ONC/RPC authentication object
(its verifier) on the server side.
|
void |
OncRpcServerAuth.xdrEncodeVerf(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an ONC/RPC authentication object
(its verifier) on the server side.
|
Constructor and Description |
---|
OncRpcTcpConnectionServerTransport(OncRpcDispatchable dispatcher,
Socket socket,
int program,
int version,
int bufferSize,
OncRpcTcpServerTransport parent,
int transmissionTimeout)
Create a new instance of a
OncRpcTcpSConnectionerverTransport
which encapsulates TCP/IP-based XDR streams of an ONC/RPC server. |
OncRpcTcpConnectionServerTransport(OncRpcDispatchable dispatcher,
Socket socket,
OncRpcServerTransportRegistrationInfo[] info,
int bufferSize,
OncRpcTcpServerTransport parent,
int transmissionTimeout)
Create a new instance of a
OncRpcTcpSConnectionerverTransport
which encapsulates TCP/IP-based XDR streams of an ONC/RPC server. |
OncRpcTcpServerTransport(OncRpcDispatchable dispatcher,
InetAddress bindAddr,
int port,
OncRpcServerTransportRegistrationInfo[] info,
int bufferSize)
Create a new instance of a
OncRpcTcpServerTransport which
encapsulates TCP/IP-based XDR streams of an ONC/RPC server. |
OncRpcTcpServerTransport(OncRpcDispatchable dispatcher,
int port,
int program,
int version,
int bufferSize)
Create a new instance of a
OncRpcTcpServerTransport which
encapsulates TCP/IP-based XDR streams of an ONC/RPC server. |
OncRpcTcpServerTransport(OncRpcDispatchable dispatcher,
int port,
OncRpcServerTransportRegistrationInfo[] info,
int bufferSize)
Create a new instance of a
OncRpcTcpServerTransport which
encapsulates TCP/IP-based XDR streams of an ONC/RPC server. |
OncRpcUdpServerTransport(OncRpcDispatchable dispatcher,
InetAddress bindAddr,
int port,
OncRpcServerTransportRegistrationInfo[] info,
int bufferSize)
Create a new instance of a
OncRpcUdpServerTransport which
encapsulates UDP/IP-based XDR streams of an ONC/RPC server. |
OncRpcUdpServerTransport(OncRpcDispatchable dispatcher,
int port,
int program,
int version,
int bufferSize)
Create a new instance of a
OncRpcUdpServerTransport which
encapsulates UDP/IP-based XDR streams of an ONC/RPC server. |
OncRpcUdpServerTransport(OncRpcDispatchable dispatcher,
int port,
OncRpcServerTransportRegistrationInfo[] info,
int bufferSize)
Create a new instance of a
OncRpcUdpServerTransport which
encapsulates UDP/IP-based XDR streams of an ONC/RPC server. |
Copyright © 2015. All rights reserved.