com.glines.socketio.server.transport
Class FlashSocketTransport
java.lang.Object
com.glines.socketio.server.transport.AbstractTransport
com.glines.socketio.server.transport.WebSocketTransport
com.glines.socketio.server.transport.FlashSocketTransport
- All Implemented Interfaces:
- Transport, org.eclipse.jetty.websocket.WebSocketFactory.Acceptor
public class FlashSocketTransport
- extends WebSocketTransport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSPORT_NAME
public static final String TRANSPORT_NAME
- See Also:
- Constant Field Values
FLASHPOLICY_SERVER_HOST_KEY
public static final String FLASHPOLICY_SERVER_HOST_KEY
- See Also:
- Constant Field Values
FLASHPOLICY_SERVER_PORT_KEY
public static final String FLASHPOLICY_SERVER_PORT_KEY
- See Also:
- Constant Field Values
FLASHPOLICY_DOMAIN_KEY
public static final String FLASHPOLICY_DOMAIN_KEY
- See Also:
- Constant Field Values
FLASHPOLICY_PORTS_KEY
public static final String FLASHPOLICY_PORTS_KEY
- See Also:
- Constant Field Values
FlashSocketTransport
public FlashSocketTransport(int bufferSize,
int maxIdleTime)
getName
public String getName()
- Specified by:
getName in interface Transport- Overrides:
getName in class WebSocketTransport
- Returns:
- The name of the transport instance.
init
public void init(javax.servlet.ServletConfig config)
- Specified by:
init in interface Transport- Overrides:
init in class AbstractTransport
destroy
public void destroy()
- Specified by:
destroy in interface Transport- Overrides:
destroy in class AbstractTransport
handle
public void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Transport.InboundFactory inboundFactory,
SocketIOSession.Factory sessionFactory)
throws IOException
- Specified by:
handle in interface Transport- Overrides:
handle in class WebSocketTransport
- Throws:
IOException
startFlashPolicyServer
public void startFlashPolicyServer()
throws IOException
- Starts this server, binding to the previously passed SocketAddress.
- Throws:
IOException
Copyright © 2010-2011. All Rights Reserved.