org.planx.xmlstore.routing.operation
Class ConnectReceiver

java.lang.Object
  extended by org.planx.xmlstore.routing.operation.OriginReceiver
      extended by org.planx.xmlstore.routing.operation.ConnectReceiver
All Implemented Interfaces:
Receiver

public class ConnectReceiver
extends OriginReceiver

Receives a ConnectMessage and sends an AcknowledgeMessage as reply.


Field Summary
 
Fields inherited from class org.planx.xmlstore.routing.operation.OriginReceiver
local, server, space
 
Constructor Summary
ConnectReceiver(MessageServer server, Node local, Space space)
           
 
Method Summary
 void receive(Message incoming, int comm)
          Responds to a ConnectMessage by sending a ConnectReplyMessage.
 
Methods inherited from class org.planx.xmlstore.routing.operation.OriginReceiver
timeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectReceiver

public ConnectReceiver(MessageServer server,
                       Node local,
                       Space space)
Method Detail

receive

public void receive(Message incoming,
                    int comm)
             throws IOException
Responds to a ConnectMessage by sending a ConnectReplyMessage.

Specified by:
receive in interface Receiver
Overrides:
receive in class OriginReceiver
Throws:
IOException - if an I/O error occurs


Copyright © 2010. All Rights Reserved.