Apache CXF API

org.apache.cxf.binding.soap.tcp
Class TCPConduit

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractConduit
          extended by org.apache.cxf.binding.soap.tcp.TCPConduit
All Implemented Interfaces:
Configurable, Conduit, Observable, Assertor

public class TCPConduit
extends AbstractConduit
implements Configurable, Assertor


Field Summary
 
Fields inherited from class org.apache.cxf.transport.AbstractConduit
target
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
TCPConduit(EndpointInfo ei)
           
TCPConduit(EndpointReferenceType t)
           
 
Method Summary
 void assertMessage(Message message)
           
 boolean canAssert(QName type)
           
 void close()
          Close the conduit.
 void close(Message message)
          Close the connections associated with the message
 String getBeanName()
          Get the configurable object's Bean name
protected  Logger getLogger()
           
 void prepare(Message message)
          Prepare the message for sending.
 
Methods inherited from class org.apache.cxf.transport.AbstractConduit
getTarget, toString
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Observable
getMessageObserver, setMessageObserver
 

Constructor Detail

TCPConduit

public TCPConduit(EndpointReferenceType t)
           throws IOException
Throws:
IOException

TCPConduit

public TCPConduit(EndpointInfo ei)
           throws IOException
Throws:
IOException
Method Detail

getLogger

protected Logger getLogger()
Specified by:
getLogger in class AbstractObservable
Returns:
the logger to use

getBeanName

public String getBeanName()
Description copied from interface: Configurable
Get the configurable object's Bean name

Specified by:
getBeanName in interface Configurable
Returns:
the bean name

assertMessage

public void assertMessage(Message message)
Specified by:
assertMessage in interface Assertor

canAssert

public boolean canAssert(QName type)
Specified by:
canAssert in interface Assertor

prepare

public void prepare(Message message)
             throws IOException
Description copied from interface: Conduit
Prepare the message for sending. This will typically involve setting an OutputStream on the message, but it may do nothing at all.

Specified by:
prepare in interface Conduit
Parameters:
message - the message to be sent.
Throws:
IOException

close

public void close(Message message)
Description copied from interface: Conduit
Close the connections associated with the message

Specified by:
close in interface Conduit
Overrides:
close in class AbstractConduit

close

public void close()
Description copied from class: AbstractConduit
Close the conduit.

Specified by:
close in interface Conduit
Overrides:
close in class AbstractConduit

Apache CXF API

Apache CXF