org.neo.swarm.services.binding
Class DynamicRunnable

java.lang.Object
  extended byorg.neo.swarm.services.binding.DynamicRunnable
All Implemented Interfaces:
BindingRunnable, java.lang.Runnable, Service, org.picocontainer.Startable
Direct Known Subclasses:
StaticRunnable

public class DynamicRunnable
extends java.lang.Object
implements BindingRunnable

Takes a multicastsender and multicasts the ACProxy registration Aspect

Author:
navery
See Also:
BindingService

Field Summary
protected  byte[] sendData
           
 
Constructor Summary
DynamicRunnable(ApplicationContext appContext, Sender sender, Serializer serializer, int timeout)
           
 
Method Summary
 void addLocation(java.net.InetAddress host, int port)
           
 java.lang.String getName()
           
 void run()
          Pumps out the local AC aspect invocation using the given sender impl
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sendData

protected byte[] sendData
Constructor Detail

DynamicRunnable

public DynamicRunnable(ApplicationContext appContext,
                       Sender sender,
                       Serializer serializer,
                       int timeout)
Method Detail

start

public void start()
Specified by:
start in interface org.picocontainer.Startable

stop

public void stop()
Specified by:
stop in interface org.picocontainer.Startable

run

public void run()
Pumps out the local AC aspect invocation using the given sender impl

Specified by:
run in interface java.lang.Runnable

getName

public java.lang.String getName()
Specified by:
getName in interface Service

addLocation

public void addLocation(java.net.InetAddress host,
                        int port)
Specified by:
addLocation in interface BindingRunnable


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