com.unet.warmachine.peerlocator
Interface MemberChangeListener
- public interface MemberChangeListener
This interface defines how an agent can notify client code of changes to a
remote agent (of the same group). Notifies of changes of known online status
and displayed status description.
|
Method Summary |
void |
groupOnlineChanged(Agent agent)
Notifies that the agent is connected or is no longer connected to at
one other member of the group. |
void |
onlineChanged(Member member)
Notifies that a member has been located and is online or has gone
offline. |
void |
statusValueChanged(Member member)
Notifies that a member that has already been declared online has changed
status value. |
onlineChanged
public void onlineChanged(Member member)
- Notifies that a member has been located and is online or has gone
offline.
- Parameters:
member - Member that has changed online status.
statusValueChanged
public void statusValueChanged(Member member)
- Notifies that a member that has already been declared online has changed
status value.
- Parameters:
member - Member that has changed status value.
groupOnlineChanged
public void groupOnlineChanged(Agent agent)
- Notifies that the agent is connected or is no longer connected to at
one other member of the group. This also notifies that the agent was
rejected because of a name clash.
- Parameters:
agent - Agent that has joined group or been rejected.