GemFire 6.6.3

com.gemstone.gemfire.cache.util
Class UniversalMembershipListenerAdapter.AdaptedMembershipEvent

java.lang.Object
  extended by com.gemstone.gemfire.cache.util.UniversalMembershipListenerAdapter.AdaptedMembershipEvent
All Implemented Interfaces:
SystemMembershipEvent
Enclosing class:
UniversalMembershipListenerAdapter

public static class UniversalMembershipListenerAdapter.AdaptedMembershipEvent
extends Object
implements SystemMembershipEvent

Adapts BridgeMembershipEvent to look like a SystemMembershipEvent


Method Summary
 boolean equals(Object other)
           
 DistributedMember getDistributedMember()
          Returns the DistributedMember that this event originated in.
 String getMemberId()
          Returns the distributed member as a String.
 int hashCode()
           
 boolean isClient()
          Returns true if the member is a bridge client to a BridgeServer hosted by this process.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

isClient

public boolean isClient()
Returns true if the member is a bridge client to a BridgeServer hosted by this process. Returns false if the member is a BridgeServer that this process is connected to.


getMemberId

public String getMemberId()
Description copied from interface: SystemMembershipEvent
Returns the distributed member as a String.

Specified by:
getMemberId in interface SystemMembershipEvent

getDistributedMember

public DistributedMember getDistributedMember()
Description copied from interface: SystemMembershipEvent
Returns the DistributedMember that this event originated in.

Specified by:
getDistributedMember in interface SystemMembershipEvent
Returns:
the member that performed the operation that originated this event.

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

GemFire 6.6.3

Copyright © 1997-2012 VMware, Inc. All rights reserved.