Class UDPConduit
- java.lang.Object
-
- org.apache.cxf.transport.AbstractObservable
-
- org.apache.cxf.transport.AbstractConduit
-
- org.jboss.wsf.stack.cxf.addons.transports.udp.UDPConduit
-
- All Implemented Interfaces:
Conduit,Observable
public class UDPConduit extends AbstractConduit
A modified version of Apache CXF org.apache.cxf.transport.udp.UDPConduit that does not rely on Apache Mina and directly uses basic java.io for any type of datagram.- Author:
- alessio.soldano@jboss.com
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.transport.AbstractConduit
target
-
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
-
-
Constructor Summary
Constructors Constructor Description UDPConduit(EndpointReferenceType t, Bus bus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoggergetLogger()voidprepare(Message message)Prepare the message for sending.-
Methods inherited from class org.apache.cxf.transport.AbstractConduit
close, close, 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
-
UDPConduit
public UDPConduit(EndpointReferenceType t, Bus bus)
-
-
Method Detail
-
prepare
public void prepare(Message message) throws IOException
Description copied from interface:ConduitPrepare the message for sending. This will typically involve setting an OutputStream on the message, but it may do nothing at all.- Parameters:
message- the message to be sent.- Throws:
IOException
-
getLogger
protected Logger getLogger()
- Specified by:
getLoggerin classAbstractObservable- Returns:
- the logger to use
-
-