org.apache.activemq.transport.ws
Class WSTransportServer
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportServerSupport
org.apache.activemq.transport.ws.WSTransportServer
- All Implemented Interfaces:
- Service, TransportServer
public class WSTransportServer
- extends TransportServerSupport
Creates a web server and registers web socket server
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSTransportServer
public WSTransportServer(java.net.URI location)
doStart
protected void doStart()
throws java.lang.Exception
- Specified by:
doStart in class ServiceSupport
- Throws:
java.lang.Exception
doStop
protected void doStop(ServiceStopper stopper)
throws java.lang.Exception
- Specified by:
doStop in class ServiceSupport
- Throws:
java.lang.Exception
getSocketAddress
public java.net.InetSocketAddress getSocketAddress()
- 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.
setBrokerInfo
public void setBrokerInfo(BrokerInfo brokerInfo)
- Description copied from interface:
TransportServer
- Associates a broker info with the transport server so that the transport
can do discovery advertisements of the broker.
Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.