NetKernel APIs


com.ten60.netkernel.transport
Class TransportDeploymentRecord

java.lang.Object
  extended bycom.ten60.netkernel.transport.TransportDeploymentRecord

public class TransportDeploymentRecord
extends Object

TransportDeploymentRecord keeps track of a transport deployment so that a hot restart knows which transports must to be stopped or started on a hot restart.


Constructor Summary
TransportDeploymentRecord(ITransport aTransport, ModuleDefinition aModule, int aStatBufferSize)
          Creates a new instance of TransportDeploymentRecord
 
Method Summary
 void accumulateWork(int aWork, int aIndex)
           
 ModuleDefinition getModule()
           
 ITransport getTransport()
           
 String getTransportClass()
           
 long[] getWork()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportDeploymentRecord

public TransportDeploymentRecord(ITransport aTransport,
                                 ModuleDefinition aModule,
                                 int aStatBufferSize)
Creates a new instance of TransportDeploymentRecord

Parameters:
aTransport -
aModule -
Method Detail

getTransport

public ITransport getTransport()
Returns:
the Transport reference

getTransportClass

public String getTransportClass()
Returns:
the assigned Id of the transport

getModule

public ModuleDefinition getModule()
Returns:
the module the transport belongs to

accumulateWork

public void accumulateWork(int aWork,
                           int aIndex)

getWork

public long[] getWork()

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.