org.neo.swarm.interceptor.tcp
Class TcpClient

java.lang.Object
  extended byorg.neo.swarm.interceptor.tcp.TcpClient
All Implemented Interfaces:
Aspect, java.io.Serializable

public class TcpClient
extends java.lang.Object
implements java.io.Serializable, Aspect

ClientSide that uses a TCP sender to pass messages off to the server. This represents the last part of a remote-serializable interceptor stack.

Author:
neil.avery
See Also:
Serialized Form

Constructor Summary
TcpClient(java.net.InetAddress host, int port, TcpSenderFactoryI tcpFactory, Serializer serializer)
           
 
Method Summary
 void advise(AspectComponent componentInstance)
           
 MethodInterceptor getInterceptor()
           
 void replaceInterceptor(MethodInterceptor interceptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpClient

public TcpClient(java.net.InetAddress host,
                 int port,
                 TcpSenderFactoryI tcpFactory,
                 Serializer serializer)
Method Detail

advise

public void advise(AspectComponent componentInstance)
Specified by:
advise in interface Aspect

getInterceptor

public MethodInterceptor getInterceptor()
Specified by:
getInterceptor in interface Aspect

replaceInterceptor

public void replaceInterceptor(MethodInterceptor interceptor)
Specified by:
replaceInterceptor in interface Aspect


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