|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.connector.warp.WarpConnection
Constructor Summary | |
WarpConnection()
Construct a new instance of a WarpConnection . |
Method Summary | |
WarpConnector |
getConnector()
Return the WarpConnector associated with this connection. |
java.net.Socket |
getSocket()
Return the socket this connection is working on. |
void |
lifecycleEvent(LifecycleEvent event)
Get notified of events in the connector. |
void |
recv(WarpPacket packet)
Receive a WARP packet over this connection. |
void |
run()
Process data from the socket. |
void |
send(WarpPacket packet)
Send a WARP packet over this connection. |
void |
setConnector(WarpConnector connector)
Set the WarpConnector associated with this connection. |
void |
setSocket(java.net.Socket socket)
Set the socket this connection is working on. |
void |
start()
Start working on this connection. |
void |
stop()
Stop all we're doing on the connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WarpConnection()
WarpConnection
.
Method Detail |
public void setSocket(java.net.Socket socket)
public java.net.Socket getSocket()
public void setConnector(WarpConnector connector)
WarpConnector
associated with this connection.
public WarpConnector getConnector()
WarpConnector
associated with this connection.
public void lifecycleEvent(LifecycleEvent event)
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredpublic void start()
public void stop()
public void run()
run
in interface java.lang.Runnable
public void send(WarpPacket packet) throws java.io.IOException
java.io.IOException
public void recv(WarpPacket packet) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |