|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AALSpaceEventHandler
AALSpaceEventHandler interface. These methods are called by the lower layer in order to manage events.
Method Summary | |
---|---|
void |
aalSpaceEvent(AALSpaceStatus newStatus)
|
void |
aalSpaceJoined(AALSpaceDescriptor descriptor)
The method is called asynchronously from the bottom layer of the MW after a previous join(...) request. |
void |
joinRequest(AALSpaceCard spaceCard,
PeerCard sender)
This method allows the AALSpaceManager to manage a join request from a remote peer. |
void |
leaveRequest(AALSpaceDescriptor spaceCard)
This method forces the peer to leace an AALSpace |
void |
mpaInstalled(AALSpaceDescriptor spaceDescriptor)
Called in order to alert the AALSpace about the installation of a new MPA |
void |
mpaInstalling(AALSpaceDescriptor spaceDescriptor)
Called in order to alert the AALSpace about the installation of a new MPA |
void |
newAALSpacesFound(Set<AALSpaceCard> spaceCards)
A new AALSpace has been found |
void |
peerFound(PeerCard peer)
Method called when a peer joins the AALSpace managed by the AALSpaceManager |
void |
peerLost(PeerCard peer)
This method notifies to the coordinator that a peer wants to leave to the AALSpace |
void |
setListOfPeers(Map<String,PeerCard> peer)
This method allows to configure the set of peers that actually join the AAL Space managed or joined by this AALSpaceManager |
Method Detail |
---|
void aalSpaceJoined(AALSpaceDescriptor descriptor)
descriptor
- all the information about the joinined AALSpacevoid joinRequest(AALSpaceCard spaceCard, PeerCard sender)
spaceCard
- sender
- void leaveRequest(AALSpaceDescriptor spaceCard)
spaceCard
- void peerLost(PeerCard peer)
sender
- void peerFound(PeerCard peer)
peer
- void newAALSpacesFound(Set<AALSpaceCard> spaceCards)
spaceCard
- void aalSpaceEvent(AALSpaceStatus newStatus)
void setListOfPeers(Map<String,PeerCard> peer)
peer
- Map of peersvoid mpaInstalling(AALSpaceDescriptor spaceDescriptor)
void mpaInstalled(AALSpaceDescriptor spaceDescriptor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |