Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » transport » udp » [javadoc | source]
org.apache.activemq.transport.udp
public class: DatagramHeaderMarshaller [javadoc | source]
java.lang.Object
   org.apache.activemq.transport.udp.DatagramHeaderMarshaller

Direct Known Subclasses:
    MulticastDatagramHeaderMarshaller

Method from org.apache.activemq.transport.udp.DatagramHeaderMarshaller Summary:
createEndpoint,   createEndpoint,   createEndpoint,   getEndpoint,   writeHeader,   writeHeader
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.transport.udp.DatagramHeaderMarshaller Detail:
 protected Endpoint createEndpoint(SocketAddress address) 
 public Endpoint createEndpoint(ByteBuffer readBuffer,
    SocketAddress address) 
    Reads any header if applicable and then creates an endpoint object
 public Endpoint createEndpoint(DatagramPacket datagram,
    DataInputStream dataIn) 
 protected Endpoint getEndpoint(SocketAddress address) 
    Gets the current endpoint object for this address or creates one if not available. Note that this method does not need to be synchronized as its only ever going to be used by the already-synchronized read() method of a CommandChannel
 public  void writeHeader(Command command,
    ByteBuffer writeBuffer) 
 public  void writeHeader(Command command,
    DataOutputStream dataOut)