php.java.bridge.http
Class PipeContextServer.Channel
java.lang.Object
php.java.bridge.http.AbstractChannel
php.java.bridge.http.PipeContextServer.Channel
- Direct Known Subclasses:
- SocketContextServer.Channel
- Enclosing class:
- PipeContextServer
protected static class PipeContextServer.Channel
- extends AbstractChannel
|
Method Summary |
java.io.InputStream |
getInputStream()
Returns the channel's input stream. |
java.lang.String |
getName()
Returns the name of the channel, for example the socket # or the pipe name. |
java.io.OutputStream |
getOuptutStream()
Returns the channel's output stream. |
void |
shutdown()
Shut down the channel, closes the in- and output stream and other resources. |
protected static void |
shutdown(java.io.InputStream in,
java.io.OutputStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
protected java.io.InputStream in
out
protected java.io.OutputStream out
runner
protected ContextRunner runner
PipeContextServer.Channel
protected PipeContextServer.Channel(java.lang.String channelName,
java.io.InputStream in,
java.io.OutputStream out)
PipeContextServer.Channel
protected PipeContextServer.Channel(java.lang.String channelName)
getInputStream
public java.io.InputStream getInputStream()
throws java.io.FileNotFoundException
- Description copied from class:
AbstractChannel
- Returns the channel's input stream.
- Specified by:
getInputStream in class AbstractChannel
- Returns:
- The InputStream
- Throws:
java.io.FileNotFoundException
getOuptutStream
public java.io.OutputStream getOuptutStream()
throws java.io.FileNotFoundException
- Description copied from class:
AbstractChannel
- Returns the channel's output stream.
- Specified by:
getOuptutStream in class AbstractChannel
- Returns:
- The OutputStream.
- Throws:
java.io.FileNotFoundException
shutdown
protected static void shutdown(java.io.InputStream in,
java.io.OutputStream out)
shutdown
public void shutdown()
- Description copied from class:
AbstractChannel
- Shut down the channel, closes the in- and output stream and other resources.
- Specified by:
shutdown in class AbstractChannel
getName
public java.lang.String getName()
- Description copied from class:
AbstractChannel
- Returns the name of the channel, for example the socket # or the pipe name.
- Specified by:
getName in class AbstractChannel
- Returns:
- the name of the channel.
- See Also:
AbstractChannelName.getName()