org.planx.xmlstore.routing.operation
Class RemoveReceiver
java.lang.Object
org.planx.xmlstore.routing.operation.OriginReceiver
org.planx.xmlstore.routing.operation.RemoveReceiver
- All Implemented Interfaces:
- Receiver
public class RemoveReceiver
- extends OriginReceiver
Handles incoming remove messages by removing the mapping with the specified
key from the local map.
|
Method Summary |
void |
receive(Message incoming,
int comm)
Updates the local space by inserting the origin node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveReceiver
public RemoveReceiver(MessageServer server,
Node local,
Space space,
Map localMap)
receive
public void receive(Message incoming,
int comm)
throws IOException
- Description copied from class:
OriginReceiver
- Updates the local space by inserting the origin node. Note that if the
node already exists in the local space, it's time last seen is updated
instead.
- Specified by:
receive in interface Receiver- Overrides:
receive in class OriginReceiver
- Throws:
IOException - if an I/O error occurs
Copyright © 2010. All Rights Reserved.