org.apache.activemq.transport.ws
Class WSTransportServer

java.lang.Object
  extended by org.apache.activemq.util.ServiceSupport
      extended by org.apache.activemq.transport.TransportServerSupport
          extended by 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


Field Summary
 
Fields inherited from class org.apache.activemq.transport.TransportServerSupport
transportOptions
 
Constructor Summary
WSTransportServer(java.net.URI location)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop(ServiceStopper stopper)
           
 java.net.InetSocketAddress getSocketAddress()
           
 void setBrokerInfo(BrokerInfo brokerInfo)
           
 
Methods inherited from class org.apache.activemq.transport.TransportServerSupport
getAcceptListener, getBindLocation, getConnectURI, onAcceptError, setAcceptListener, setBindLocation, setConnectURI, setTransportOption
 
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, removeServiceListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Constructor Detail

WSTransportServer

public WSTransportServer(java.net.URI location)
Method Detail

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()

setBrokerInfo

public void setBrokerInfo(BrokerInfo brokerInfo)


Copyright © 2005-2012 FuseSource, Corp.. All Rights Reserved.