public class OncRpcBroadcastEvent extends EventObject
OncRpcBroadcastEvent defines an event fired by
ONC/RPC UDP/IP-based clients whenever replies
to a
broadcast call
are received.OncRpcBroadcastListener,
OncRpcBroadcastAdapter,
OncRpcUdpClient,
Serialized Formsource| Constructor and Description |
|---|
OncRpcBroadcastEvent(OncRpcUdpClient source,
InetAddress replyAddress,
int procedureNumber,
XdrAble params,
XdrAble reply)
Creates a new
KscPackageUpdateEvent object and
initializes its state. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
InetAddress |
getReplyAddress()
Returns the address of the sender of the ONC/RPC reply message.
|
getSource, toStringpublic OncRpcBroadcastEvent(OncRpcUdpClient source, 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.public InetAddress getReplyAddress()
public XdrAble getReply()
public int getProcedureNumber()
public XdrAble getParams()
Copyright © 2015. All rights reserved.