|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.wrmf.transport.StandardGenericTransportService
Use the newStandardGenericTransportService
static factory
method(s), not the StandardGenericTransportService
constructor,
to construct instances of this class. Instances must be constructed
using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: false
Extendable: false
Nested Class Summary | |
private class |
StandardGenericTransportService.TransportThread
|
Field Summary | |
private static String |
CLASSNAME
|
private boolean |
initialized
|
private Hashtable |
pipes
|
private static String |
RESOURCE
|
private static int |
TOTAL_TRANSPORT_THREAD
|
private static ThreadAdapter |
transportAdapter
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardGenericTransportService()
|
Method Summary | |
protected void |
dispatchVetoableEvent(String eventType,
ShippingItem obj)
|
private void |
finalizeUnconsumedBytes(InputStream is)
|
String |
getConceptualClassname()
Deprecated. |
static StandardGenericTransportService |
newStandardGenericTransportService()
Default factory for the class. |
protected void |
performStartupProcess()
Supported API: false |
private void |
PP(String msg)
|
private InputStream |
pull0(ActionPullItem pullItem)
|
InputStream |
pullInitialize(ActionPullItem pullItem)
May throw invocation related exeptions due to the fact that some transports may work synchroneusly. |
void |
registerEvents(ManagerService ms)
Register events with the passed ManagerService. |
InputStream |
send(InputStream is,
SiteAddress to,
TransportType by,
ShippingItem shippingItem,
long length)
May throw invocation related exeptions due to the fact that some transports may work synchroneusly. |
private InputStream |
send0(InputStream is,
SiteAddress to,
TransportType by,
ShippingItem item,
long length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Hashtable pipes
private boolean initialized
private static boolean VERBOSE
private static int TOTAL_TRANSPORT_THREAD
private static ThreadAdapter transportAdapter
Constructor Detail |
public StandardGenericTransportService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardGenericTransportService newStandardGenericTransportService() throws WTException
WTException
public InputStream send(InputStream is, SiteAddress to, TransportType by, ShippingItem shippingItem, long length) throws WTTransportException
send
in interface GenericTransportService
is
- to
- by
- shippingItem
- length
-
WTTransportException
public InputStream pullInitialize(ActionPullItem pullItem) throws WTTransportException
pullInitialize
in interface GenericTransportService
pullItem
-
WTTransportException
private void finalizeUnconsumedBytes(InputStream is) throws IOException
IOException
private InputStream send0(InputStream is, SiteAddress to, TransportType by, ShippingItem item, long length) throws WTTransportException
WTTransportException
private InputStream pull0(ActionPullItem pullItem) throws WTTransportException
WTTransportException
public void registerEvents(ManagerService ms)
StandardManager
registerEvents
in interface Manager
registerEvents
in class StandardManager
ms
- the ManagerService with which to register events.protected void dispatchVetoableEvent(String eventType, ShippingItem obj) throws WTException
WTException
private void PP(String msg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |