Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractDestination
          extended by org.apache.cxf.binding.soap.tcp.SoapTcpDestination
All Implemented Interfaces:
Destination, DestinationWithEndpoint, Observable, org.apache.mina.core.service.IoHandler

public final class SoapTcpDestination
extends AbstractDestination
implements org.apache.mina.core.service.IoHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
AbstractDestination.AbstractBackChannelConduit
 
Field Summary
 
Fields inherited from class org.apache.cxf.transport.AbstractDestination
bus, endpointInfo, reference
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
SoapTcpDestination(Bus b, EndpointReferenceType ref, EndpointInfo ei)
           
SoapTcpDestination(EndpointReferenceType ref, EndpointInfo ei)
           
 
Method Summary
 void exceptionCaught(org.apache.mina.core.session.IoSession session, Throwable cause)
           
protected  Conduit getInbuiltBackChannel(Message inMessage)
           
protected  Logger getLogger()
           
 void messageReceived(org.apache.mina.core.session.IoSession session, Object message)
           
 void messageSent(org.apache.mina.core.session.IoSession session, Object message)
           
 void sessionClosed(org.apache.mina.core.session.IoSession session)
           
 void sessionCreated(org.apache.mina.core.session.IoSession session)
           
 void sessionIdle(org.apache.mina.core.session.IoSession session, org.apache.mina.core.session.IdleStatus status)
           
 void sessionOpened(org.apache.mina.core.session.IoSession session)
           
 
Methods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, getEndpointInfo, shutdown
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Destination
getMessageObserver
 
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
 

Constructor Detail

SoapTcpDestination

public SoapTcpDestination(EndpointReferenceType ref,
                          EndpointInfo ei)
                   throws IOException
Throws:
IOException

SoapTcpDestination

public SoapTcpDestination(Bus b,
                          EndpointReferenceType ref,
                          EndpointInfo ei)
                   throws IOException
Throws:
IOException
Method Detail

getInbuiltBackChannel

protected Conduit getInbuiltBackChannel(Message inMessage)
Specified by:
getInbuiltBackChannel in class AbstractDestination
Parameters:
inMessage - the incoming message
Returns:
the inbuilt backchannel

getLogger

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

exceptionCaught

public void exceptionCaught(org.apache.mina.core.session.IoSession session,
                            Throwable cause)
                     throws Exception
Specified by:
exceptionCaught in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

messageReceived

public void messageReceived(org.apache.mina.core.session.IoSession session,
                            Object message)
                     throws Exception
Specified by:
messageReceived in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

messageSent

public void messageSent(org.apache.mina.core.session.IoSession session,
                        Object message)
                 throws Exception
Specified by:
messageSent in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

sessionClosed

public void sessionClosed(org.apache.mina.core.session.IoSession session)
                   throws Exception
Specified by:
sessionClosed in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

sessionCreated

public void sessionCreated(org.apache.mina.core.session.IoSession session)
                    throws Exception
Specified by:
sessionCreated in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

sessionIdle

public void sessionIdle(org.apache.mina.core.session.IoSession session,
                        org.apache.mina.core.session.IdleStatus status)
                 throws Exception
Specified by:
sessionIdle in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

sessionOpened

public void sessionOpened(org.apache.mina.core.session.IoSession session)
                   throws Exception
Specified by:
sessionOpened in interface org.apache.mina.core.service.IoHandler
Throws:
Exception

Apache CXF API

Apache CXF