org.apache.catalina.connector.warp
クラス WarpConnection

java.lang.Object
  |
  +--org.apache.catalina.connector.warp.WarpConnection
すべての実装インタフェース:
LifecycleListener, java.lang.Runnable

public class WarpConnection
extends java.lang.Object
implements LifecycleListener, java.lang.Runnable


コンストラクタの概要
WarpConnection()
          Construct a new instance of a WarpConnection.
 
メソッドの概要
 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.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

WarpConnection

public WarpConnection()
Construct a new instance of a WarpConnection.
メソッドの詳細

setSocket

public void setSocket(java.net.Socket socket)
Set the socket this connection is working on.

getSocket

public java.net.Socket getSocket()
Return the socket this connection is working on.

setConnector

public void setConnector(WarpConnector connector)
Set the WarpConnector associated with this connection.

getConnector

public WarpConnector getConnector()
Return the WarpConnector associated with this connection.

lifecycleEvent

public void lifecycleEvent(LifecycleEvent event)
Get notified of events in the connector.
定義:
インタフェース LifecycleListener 内の lifecycleEvent
インタフェース org.apache.catalina.LifecycleListener からコピーされたタグ:
パラメータ:
event - LifecycleEvent that has occurred

start

public void start()
Start working on this connection.

stop

public void stop()
Stop all we're doing on the connection.

run

public void run()
Process data from the socket.
定義:
インタフェース java.lang.Runnable 内の run

send

public void send(WarpPacket packet)
          throws java.io.IOException
Send a WARP packet over this connection.

recv

public void recv(WarpPacket packet)
          throws java.io.IOException
Receive a WARP packet over this connection.


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.