org.apache.activemq.transport.udp.UdpTransport.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1?
|
z z z z! z"
z#
z$ z%&
'(
)*
( z+
z,- z./
z0
z1 z2345
67839
z: z;<=>
?
z@A
z(3B
zC=D
zEF
zGHIJK3LMN3OPQ
zRS3T
.UV
<W zX=Y zZ
z[ z\ z]^
D z_`
G za=b
'c
zde
'f
Mg
hi
hj
zk
lmn=o
|p
zq
rs zt
zu
rv
zw
xy
zz{
z|
z}
z~
z
z?
z?
_?
r??
x?? d
???
??
??
M?
r??
s??
x??=??
?????? LOG Lorg/apache/commons/logging/Log; MAX_BIND_ATTEMPTS I
ConstantValue 2 BIND_ATTEMPT_DELAY J commandChannel 2Lorg/apache/activemq/transport/udp/CommandChannel;
wireFormat -Lorg/apache/activemq/openwire/OpenWireFormat;
bufferPool 2Lorg/apache/activemq/transport/udp/ByteBufferPool; replayStrategy 7Lorg/apache/activemq/transport/reliable/ReplayStrategy; replayBuffer 5Lorg/apache/activemq/transport/reliable/ReplayBuffer; datagramSize
targetAddress Ljava/net/SocketAddress; originalTargetAddress channel #Ljava/nio/channels/DatagramChannel; trace Z useLocalHost port minmumWireFormatVersion description Ljava/lang/String; sequenceGenerator /Lorg/apache/activemq/util/IntSequenceGenerator;
replayEnabled 0(Lorg/apache/activemq/openwire/OpenWireFormat;)V Code LineNumberTable LocalVariableTable this 0Lorg/apache/activemq/transport/udp/UdpTransport;
Exceptions >(Lorg/apache/activemq/openwire/OpenWireFormat;Ljava/net/URI;)V remoteLocation Ljava/net/URI;? H(Lorg/apache/activemq/openwire/OpenWireFormat;Ljava/net/SocketAddress;)V
socketAddress 1(Lorg/apache/activemq/openwire/OpenWireFormat;I)V createReplayer 3()Lorg/apache/activemq/transport/reliable/Replayer; oneway (Ljava/lang/Object;)V command Ljava/lang/Object; -(Ljava/lang/Object;Ljava/net/SocketAddress;)V address toString ()Ljava/lang/String; run ()V %Lorg/apache/activemq/command/Command; e2 Ljava/lang/Exception; e .Ljava/nio/channels/AsynchronousCloseException; Ljava/net/SocketException; Ljava/io/EOFException; setTargetEndpoint )(Lorg/apache/activemq/command/Endpoint;)V endpoint 4Lorg/apache/activemq/transport/udp/DatagramEndpoint; newTarget &Lorg/apache/activemq/command/Endpoint; isTrace ()Z setTrace (Z)V getDatagramSize ()I setDatagramSize (I)V isUseLocalHost setUseLocalHost getCommandChannel 4()Lorg/apache/activemq/transport/udp/CommandChannel; setCommandChannel =(Lorg/apache/activemq/transport/udp/CommandDatagramChannel;)V :Lorg/apache/activemq/transport/udp/CommandDatagramChannel; getReplayStrategy 9()Lorg/apache/activemq/transport/reliable/ReplayStrategy; setReplayStrategy :(Lorg/apache/activemq/transport/reliable/ReplayStrategy;)V getPort setPort getMinmumWireFormatVersion setMinmumWireFormatVersion
getWireFormat /()Lorg/apache/activemq/openwire/OpenWireFormat; getSequenceGenerator 1()Lorg/apache/activemq/util/IntSequenceGenerator; setSequenceGenerator 2(Lorg/apache/activemq/util/IntSequenceGenerator;)V isReplayEnabled setReplayEnabled
getBufferPool 4()Lorg/apache/activemq/transport/udp/ByteBufferPool;
setBufferPool 5(Lorg/apache/activemq/transport/udp/ByteBufferPool;)V getReplayBuffer 7()Lorg/apache/activemq/transport/reliable/ReplayBuffer; setReplayBuffer 8(Lorg/apache/activemq/transport/reliable/ReplayBuffer;)V
createAddress ,(Ljava/net/URI;)Ljava/net/InetSocketAddress; host resolveHostName &(Ljava/lang/String;)Ljava/lang/String; localName doStart createCommandChannel localAddress socket Ljava/net/DatagramSocket; createCommandDatagramChannel bind 4(Ljava/net/DatagramSocket;Ljava/net/SocketAddress;)V e1 Ljava/lang/InterruptedException; Ljava/net/BindException; i connect `(Ljava/nio/channels/DatagramChannel;Ljava/net/SocketAddress;)Ljava/nio/channels/DatagramChannel; targetAddress2 createLocalAddress ()Ljava/net/SocketAddress; doStop ,(Lorg/apache/activemq/util/ServiceStopper;)V stopper )Lorg/apache/activemq/util/ServiceStopper; createDatagramHeaderMarshaller >()Lorg/apache/activemq/transport/udp/DatagramHeaderMarshaller; getProtocolName getProtocolUriScheme getTargetAddress
getChannel %()Ljava/nio/channels/DatagramChannel;
setChannel &(Ljava/nio/channels/DatagramChannel;)V getLocalSocketAddress ()Ljava/net/InetSocketAddress; getRemoteAddress getReceiveCounter
SourceFile UdpTransport.java ? ? Gorg/apache/activemq/transport/reliable/ExceptionIfDroppedReplayStrategy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/StringBuilder? ? ??? @ ? ? ? ServerConnection@ ? ? Server@ ? ? ? ? ? ??? ? Sending oneway from: ?? to target:
command: ? ?? ? ? ? #org/apache/activemq/command/Command????? ? Consumer thread starting for: ? ?? ???? ? ,java/nio/channels/AsynchronousCloseException? ? java/lang/Exception Caught in: while closing: . Now Closed?? java/net/SocketException Socket closed: ?? java/io/EOFException java/io/IOException?? Caught: ??? ? 2org/apache/activemq/transport/udp/DatagramEndpoint? ? ??? ? ? ? ? ? ? ? ? -org/apache/activemq/util/IntSequenceGenerator ? ? 3org/apache/activemq/transport/udp/DefaultBufferPool ? ? ? ?? ? ? ? java/net/InetSocketAddress ? ? ?????? ? ? ???? localhost? ? ? ??? ? ? ?? ? ??? ? ? ? 8org/apache/activemq/transport/udp/CommandDatagramChannel ? ? ? ?
? ? ???? Binding to address: ?? java/net/BindException??? java/lang/InterruptedException??? ? ? ?? ? :org/apache/activemq/transport/udp/DatagramHeaderMarshaller Udp udp:// ? .org/apache/activemq/transport/udp/UdpTransport??? 4org/apache/activemq/transport/TransportThreadSupport 'org/apache/activemq/transport/Transport org/apache/activemq/Service java/lang/Runnable java/net/UnknownHostException java/net/URI append -(Ljava/lang/String;)Ljava/lang/StringBuilder; org/apache/commons/logging/Log isDebugEnabled -(Ljava/lang/Object;)Ljava/lang/StringBuilder; debug checkStarted 0org/apache/activemq/transport/udp/CommandChannel write @(Lorg/apache/activemq/command/Command;Ljava/net/SocketAddress;)V (I)Ljava/lang/StringBuilder; isStopped read '()Lorg/apache/activemq/command/Command; doConsume stop warn *(Ljava/lang/Object;Ljava/lang/Throwable;)V onException (Ljava/io/IOException;)V error printStackTrace
getAddress setTargetAddress (Ljava/net/SocketAddress;)V getHost (Ljava/lang/String;I)V java/net/InetAddress getLocalHost ()Ljava/net/InetAddress; getHostName java/lang/String equals (Ljava/lang/Object;)Z start !java/nio/channels/DatagramChannel open ()Ljava/net/DatagramSocket; java/net/DatagramSocket getLocalPort
(Lorg/apache/activemq/transport/udp/UdpTransport;Lorg/apache/activemq/openwire/OpenWireFormat;ILjava/net/SocketAddress;Lorg/apache/activemq/transport/udp/DatagramHeaderMarshaller;Ljava/nio/channels/DatagramChannel;Lorg/apache/activemq/transport/udp/ByteBufferPool;)V configureBlocking ((Z)Ljava/nio/channels/SelectableChannel; java/lang/Thread sleep (J)V
currentThread ()Ljava/lang/Thread; interrupt close %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! z | } ~ ? ? ? ? ? ? ? ? ? k ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4 ? ? ? r &*? *? Y? ? * ? *? *? *+? ? ? K = ? D I L % M ? &