wt.wrmf.transport
Class StandardGenericTransportService.TransportThread

java.lang.Object
  extended byjava.lang.Thread
      extended bywt.wrmf.transport.StandardGenericTransportService.TransportThread
All Implemented Interfaces:
Runnable
Enclosing class:
StandardGenericTransportService

private class StandardGenericTransportService.TransportThread
extends Thread


Field Summary
private  Object bizData
           
private  WTPrincipal currUser
           
private  SiteAddress destination
           
private  ShippingItem item
           
private  long length
           
private  Object lock
           
private  boolean pushReq
           
private  int sequence
           
private  InputStream srcStream
           
private  TransportType transportType
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) StandardGenericTransportService.TransportThread(int _sequence, boolean _pushReq)
           
 
Method Summary
 Object getBizData()
           
 int getThreadSequence()
           
 void run()
           
 void setParameters(InputStream _is, SiteAddress _to, TransportType _by, ShippingItem _item, long _length)
           
 void setPrincipal(WTPrincipal princ)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sequence

private int sequence

pushReq

private boolean pushReq

bizData

private Object bizData

currUser

private WTPrincipal currUser

lock

private Object lock

srcStream

private InputStream srcStream

destination

private SiteAddress destination

transportType

private TransportType transportType

item

private ShippingItem item

length

private long length
Constructor Detail

StandardGenericTransportService.TransportThread

StandardGenericTransportService.TransportThread(int _sequence,
                                                boolean _pushReq)
Method Detail

getThreadSequence

public int getThreadSequence()

setPrincipal

public void setPrincipal(WTPrincipal princ)

getBizData

public Object getBizData()
                  throws WTException
Throws:
WTException

setParameters

public void setParameters(InputStream _is,
                          SiteAddress _to,
                          TransportType _by,
                          ShippingItem _item,
                          long _length)

run

public void run()