Class UdpTransportServer
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportServerSupport
org.apache.activemq.transport.udp.UdpTransportServer
- All Implemented Interfaces:
Service,TransportServer
Deprecated.
A UDP based implementation of
TransportServer-
Field Summary
Fields inherited from class org.apache.activemq.transport.TransportServerSupport
transportOptions -
Constructor Summary
ConstructorsConstructorDescriptionUdpTransportServer(URI connectURI, UdpTransport serverTransport, Transport configuredTransport, ReplayStrategy replayStrategy) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected TransportconfigureTransport(Transport transport) Deprecated.protected TransportcreateTransport(Command command, DatagramEndpoint endpoint) Deprecated.protected voiddoStart()Deprecated.protected voiddoStop(ServiceStopper stopper) Deprecated.longDeprecated.Deprecated.Deprecated.booleanDeprecated.Some protocols allow link stealing by default (if 2 connections have the same clientID - the youngest wins).booleanDeprecated.For TransportServers that provide SSL connections to their connected peers they should return true here if and only if they populate the ConnectionInfo command presented to the Broker with the peers certificate chain so that the broker knows it can use that information to authenticate the connected peer.protected voidprocessInboundConnection(Command command) Deprecated.voidDeprecated.voidrun()Deprecated.voidsetAllowLinkStealing(boolean allowLinkStealing) Deprecated.voidsetBrokerInfo(BrokerInfo brokerInfo) Deprecated.Associates a broker info with the transport server so that the transport can do discovery advertisements of the broker.toString()Deprecated.Methods inherited from class org.apache.activemq.transport.TransportServerSupport
getAcceptListener, getBindLocation, getConnectURI, onAcceptError, setAcceptListener, setBindLocation, setConnectURI, setTransportOptionMethods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
-
Constructor Details
-
UdpTransportServer
public UdpTransportServer(URI connectURI, UdpTransport serverTransport, Transport configuredTransport, ReplayStrategy replayStrategy) Deprecated.
-
-
Method Details
-
toString
Deprecated. -
run
public void run()Deprecated. -
getServerTransport
Deprecated. -
setBrokerInfo
Deprecated.Description copied from interface:TransportServerAssociates a broker info with the transport server so that the transport can do discovery advertisements of the broker. -
doStart
Deprecated.- Specified by:
doStartin classServiceSupport- Throws:
Exception
-
doStop
Deprecated.- Specified by:
doStopin classServiceSupport- Throws:
Exception
-
processInboundConnection
Deprecated. -
configureTransport
Deprecated. -
createTransport
Deprecated.- Throws:
IOException
-
getSocketAddress
Deprecated.- Returns:
- The socket address that this transport is accepting connections on or null if this does not or is not currently accepting connections on a socket.
-
isSslServer
public boolean isSslServer()Deprecated.Description copied from interface:TransportServerFor TransportServers that provide SSL connections to their connected peers they should return true here if and only if they populate the ConnectionInfo command presented to the Broker with the peers certificate chain so that the broker knows it can use that information to authenticate the connected peer.- Returns:
- true if this transport server provides SSL level security over its connections.
-
isAllowLinkStealing
public boolean isAllowLinkStealing()Deprecated.Description copied from interface:TransportServerSome protocols allow link stealing by default (if 2 connections have the same clientID - the youngest wins). This is the default for AMQP and MQTT. However, JMS 1.1 spec requires the opposite- Specified by:
isAllowLinkStealingin interfaceTransportServer- Overrides:
isAllowLinkStealingin classTransportServerSupport- Returns:
- true if allow link stealing is enabled.
-
setAllowLinkStealing
public void setAllowLinkStealing(boolean allowLinkStealing) Deprecated.- Overrides:
setAllowLinkStealingin classTransportServerSupport
-
getMaxConnectionExceededCount
public long getMaxConnectionExceededCount()Deprecated. -
resetStatistics
public void resetStatistics()Deprecated.
-