php.java.bridge.http
Class SocketContextServer.Channel
java.lang.Object
php.java.bridge.http.AbstractChannel
php.java.bridge.http.PipeContextServer.Channel
php.java.bridge.http.SocketContextServer.Channel
- Enclosing class:
- SocketContextServer
protected class SocketContextServer.Channel
- extends PipeContextServer.Channel
|
Field Summary |
protected java.net.Socket |
sock
|
|
Constructor Summary |
SocketContextServer.Channel(java.lang.String name,
java.io.InputStream in,
java.io.OutputStream out,
java.net.Socket sock)
|
|
Method Summary |
java.io.InputStream |
getInputStream()
Returns the channel's input stream. |
java.io.OutputStream |
getOuptutStream()
Returns the channel's output stream. |
java.net.Socket |
getSocket()
|
void |
shutdown()
Shut down the channel, closes the in- and output stream and other resources. |
protected void |
shutdown(java.net.Socket sock)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sock
protected java.net.Socket sock
SocketContextServer.Channel
public SocketContextServer.Channel(java.lang.String name,
java.io.InputStream in,
java.io.OutputStream out,
java.net.Socket sock)
getInputStream
public java.io.InputStream getInputStream()
- Description copied from class:
AbstractChannel
- Returns the channel's input stream.
- Overrides:
getInputStream in class PipeContextServer.Channel
- Returns:
- The InputStream
getOuptutStream
public java.io.OutputStream getOuptutStream()
- Description copied from class:
AbstractChannel
- Returns the channel's output stream.
- Overrides:
getOuptutStream in class PipeContextServer.Channel
- Returns:
- The OutputStream.
getSocket
public java.net.Socket getSocket()
shutdown
protected void shutdown(java.net.Socket sock)
shutdown
public void shutdown()
- Description copied from class:
AbstractChannel
- Shut down the channel, closes the in- and output stream and other resources.
- Overrides:
shutdown in class PipeContextServer.Channel