Package org.apache.axis2.transport.udp
Class UDPSender
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- org.apache.axis2.transport.base.AbstractTransportSender
-
- org.apache.axis2.transport.udp.UDPSender
-
- All Implemented Interfaces:
Handler
,TransportSender
public class UDPSender extends AbstractTransportSender
Transport sender for the UDP protocol.- See Also:
org.apache.axis2.transport.udp
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
Handler.InvocationResponse
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.base.AbstractTransportSender
cfgCtx, log, metrics
-
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
-
-
Constructor Summary
Constructors Constructor Description UDPSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(ConfigurationContext cfgCtx, TransportOutDescription transportOut)
Initialize the generic transport sender.void
sendMessage(MessageContext msgContext, String targetEPR, OutTransportInfo outTransportInfo)
-
Methods inherited from class org.apache.axis2.transport.base.AbstractTransportSender
cleanup, createResponseMessageContext, getActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getTimeoutsReceiving, getTimeoutsSending, getTransportName, handleException, handleException, handleIncomingMessage, invoke, logException, maintenenceShutdown, pause, resetStatistics, resume, stop, waitForSynchronousResponse
-
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
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
flowComplete, getHandlerDesc, getName, getParameter, init
-
-
-
-
Method Detail
-
init
public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault
Description copied from class:AbstractTransportSender
Initialize the generic transport sender.- Specified by:
init
in interfaceTransportSender
- Overrides:
init
in classAbstractTransportSender
- Parameters:
cfgCtx
- the axis configuration contexttransportOut
- the transport-out description- Throws:
AxisFault
- on error
-
sendMessage
public void sendMessage(MessageContext msgContext, String targetEPR, OutTransportInfo outTransportInfo) throws AxisFault
- Specified by:
sendMessage
in classAbstractTransportSender
- Throws:
AxisFault
-
-