org.neo.swarm.services.tcp
Class ServerCompRouter

java.lang.Object
  extended byorg.neo.swarm.services.tcp.ServerCompRouter
All Implemented Interfaces:
ListenCallback

public class ServerCompRouter
extends java.lang.Object
implements ListenCallback

Propogates incoming invocations into the AppContext.

Author:
neil.avery

Constructor Summary
ServerCompRouter(ApplicationContext ac, Serializer serializer)
           
 
Method Summary
 byte[] messageDataReceived(byte[] data)
          Deserialise the data into a WiredInvocation object and pass it onto the appropriate component local interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerCompRouter

public ServerCompRouter(ApplicationContext ac,
                        Serializer serializer)
Method Detail

messageDataReceived

public byte[] messageDataReceived(byte[] data)
Deserialise the data into a WiredInvocation object and pass it onto the appropriate component local interface.

Specified by:
messageDataReceived in interface ListenCallback
Parameters:
data - - the message bytes received from the cluster/replication system
See Also:
ListenCallback.messageDataReceived(byte[])


Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.