org.apache.axis2.transport.tcp
Class TCPTransportSender

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.apache.axis2.transport.tcp.TCPTransportSender
All Implemented Interfaces:
org.apache.axis2.engine.Handler, org.apache.axis2.transport.TransportSender

public class TCPTransportSender
extends org.apache.axis2.handlers.AbstractHandler
implements org.apache.axis2.transport.TransportSender


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
org.apache.axis2.engine.Handler.InvocationResponse
 
Field Summary
protected  java.io.Writer out
           
 
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
 
Constructor Summary
TCPTransportSender()
           
 
Method Summary
 void cleanup(org.apache.axis2.context.MessageContext msgContext)
           
 void init(org.apache.axis2.context.ConfigurationContext confContext, org.apache.axis2.description.TransportOutDescription transportOut)
           
 org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
          Method invoke
protected  java.io.OutputStream openTheConnection(org.apache.axis2.addressing.EndpointReference toURL, org.apache.axis2.context.MessageContext msgContext)
           
 void stop()
           
 
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.engine.Handler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init
 

Field Detail

out

protected java.io.Writer out
Constructor Detail

TCPTransportSender

public TCPTransportSender()
Method Detail

init

public void init(org.apache.axis2.context.ConfigurationContext confContext,
                 org.apache.axis2.description.TransportOutDescription transportOut)
          throws org.apache.axis2.AxisFault
Specified by:
init in interface org.apache.axis2.transport.TransportSender
Throws:
org.apache.axis2.AxisFault

stop

public void stop()
Specified by:
stop in interface org.apache.axis2.transport.TransportSender

cleanup

public void cleanup(org.apache.axis2.context.MessageContext msgContext)
             throws org.apache.axis2.AxisFault
Specified by:
cleanup in interface org.apache.axis2.transport.TransportSender
Throws:
org.apache.axis2.AxisFault

invoke

public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
                                                          throws org.apache.axis2.AxisFault
Method invoke

Specified by:
invoke in interface org.apache.axis2.engine.Handler
Parameters:
msgContext -
Throws:
org.apache.axis2.AxisFault

openTheConnection

protected java.io.OutputStream openTheConnection(org.apache.axis2.addressing.EndpointReference toURL,
                                                 org.apache.axis2.context.MessageContext msgContext)
                                          throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.