wt.wrmf.transport
Interface Pipe

All Known Implementing Classes:
EMBPipe, HTTPPipeAdapter, LoopbackPipe

public interface Pipe



Supported API: false

Extendable: false


Method Summary
 void initialize()
          

Supported API: false
 InputStream pull(MethodInvocationDesc rmtDesc, String fullUrl, SiteAddress to, MethodInvocationDesc pipeDesc)
          

Supported API: false
 InputStream push(InputStream is, SiteAddress to, MethodInvocationDesc pipeDesc, long length)
          Returns null if the resulting stream is not available for this type of transport pipe.
 

Method Detail

push

public InputStream push(InputStream is,
                        SiteAddress to,
                        MethodInvocationDesc pipeDesc,
                        long length)
                 throws WTTransportException
Returns null if the resulting stream is not available for this type of transport pipe. May throw invocation related exeptions due to the fact that some transports may work synchroneusly. All exceptions are wrapped into the WTTransportException

Supported API: false

Parameters:
is -
to -
pipeDesc -
length -
Returns:
InputStream
Throws:
WTTransportException

initialize

public void initialize()


Supported API: false


pull

public InputStream pull(MethodInvocationDesc rmtDesc,
                        String fullUrl,
                        SiteAddress to,
                        MethodInvocationDesc pipeDesc)
                 throws WTTransportException


Supported API: false

Parameters:
rmtDesc -
fullUrl -
to -
pipeDesc -
Returns:
InputStream
Throws:
WTTransportException