|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.acplt.oncrpc.OncRpcBroadcastEvent
public class OncRpcBroadcastEvent
The class OncRpcBroadcastEvent
defines an event fired by
ONC/RPC UDP/IP-based clients
whenever replies
to a
broadcast call
are received.
OncRpcBroadcastListener
,
OncRpcBroadcastAdapter
,
OncRpcUdpClient
,
Serialized FormField Summary | |
---|---|
private XdrAble |
params
Contains the parameters sent in the ONC/RPC broadcast call. |
private int |
procedureNumber
Contains the number of the remote procedure called. |
private XdrAble |
reply
Contains the reply from a remote ONC/RPC server, which answered the broadcast call. |
private java.net.InetAddress |
replyAddress
Contains the address of the sender of the ONC/RPC reply message. |
private static long |
serialVersionUID
Defines the serial version UID for OncRpcBroadcastEvent . |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
OncRpcBroadcastEvent(OncRpcUdpClient source,
java.net.InetAddress replyAddress,
int procedureNumber,
XdrAble params,
XdrAble reply)
Creates a new KscPackageUpdateEvent object and
initializes its state. |
Method Summary | |
---|---|
XdrAble |
getParams()
Returns the parameter message sent in a broadcast RPC. |
int |
getProcedureNumber()
Returns the number of the remote procedure called. |
XdrAble |
getReply()
Returns ONC/RPC reply message. |
java.net.InetAddress |
getReplyAddress()
Returns the address of the sender of the ONC/RPC reply message. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
OncRpcBroadcastEvent
.
private java.net.InetAddress replyAddress
private int procedureNumber
private XdrAble params
private XdrAble reply
Constructor Detail |
---|
public OncRpcBroadcastEvent(OncRpcUdpClient source, java.net.InetAddress replyAddress, int procedureNumber, XdrAble params, XdrAble reply)
KscPackageUpdateEvent
object and
initializes its state.
source
- The ONC/RPC client object
which has
fired this event.replyAddress
- Internetaddress of reply's origin.procedureNumber
- Procedure number of ONC/RPC call.params
- The ONC/RPC call resulting in this reply.reply
- The ONC/RPC reply itself.Method Detail |
---|
public java.net.InetAddress getReplyAddress()
public XdrAble getReply()
public int getProcedureNumber()
public XdrAble getParams()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |