|
GemFire 5.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.util.BridgeEventCallbackArgument
public class BridgeEventCallbackArgument
Class BridgeEventCallbackArgument is a wrapper on a callback
arg plus the host and port of the client originating the event containing
this BridgeEventCallbackArgument. It is created by the server
when it receives an update request from a client and used to determine the
originator of the event by the CacheClientNotifier. The original
callback argument is wrapped by this one and replaced in the event sent to
CacheListener, CacheWriter and CacheLoader.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.gemstone.gemfire.DataSerializable |
|---|
DataSerializable.Replaceable |
| Constructor Summary | |
|---|---|
BridgeEventCallbackArgument()
No arg constructor for DataSerializable. |
|
BridgeEventCallbackArgument(Object originalCallbackArg,
DistributedMember clientMember)
Constructor. |
|
BridgeEventCallbackArgument(Object originalCallbackArg,
String clientHost,
int clientPort,
DistributedMember clientMember)
Constructor. |
|
| Method Summary | |
|---|---|
void |
fromData(DataInput in)
Reads the state of this object as primitive data from the given DataInput. |
DistributedMember |
getClientMember()
Returns the DistributedMember of the client originating the
event containing this BridgeEventCallbackArgument. |
Object |
getOriginalCallbackArg()
Returns the original callback argument. |
void |
toData(DataOutput out)
Writes the state of this object as primitive data to the given DataOutput. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BridgeEventCallbackArgument()
public BridgeEventCallbackArgument(Object originalCallbackArg,
String clientHost,
int clientPort,
DistributedMember clientMember)
originalCallbackArg - The original callback argument set by the
caller or null if there was not callback argclientHost - The host of the client originating the event containing
this BridgeEventCallbackArgumentclientPort - The port of the client originating the event containing
this BridgeEventCallbackArgumentclientMember - the DistributedMember ID of the client
public BridgeEventCallbackArgument(Object originalCallbackArg,
DistributedMember clientMember)
originalCallbackArg - The original callback argument set by the
caller or null if there was not callback argclientMember - the DistributedMember ID of the client| Method Detail |
|---|
public Object getOriginalCallbackArg()
public DistributedMember getClientMember()
DistributedMember of the client originating the
event containing this BridgeEventCallbackArgument.
DistributedMember of the client originating the
event containing this BridgeEventCallbackArgument
public void toData(DataOutput out)
throws IOException
DataSerializableDataOutput.
toData in interface DataSerializableIOException - A problem occurs while writing to out
public void fromData(DataInput in)
throws IOException,
ClassNotFoundException
DataSerializableDataInput.
fromData in interface DataSerializableIOException - A problem occurs while reading from in
ClassNotFoundException - A class could not be loaded while reading from
inpublic String toString()
toString in class Object
|
GemFire 5.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||