com.solarmetric.remote
Interface Transport.Channel
- All Superinterfaces:
- com.solarmetric.util.Closeable
- Enclosing class:
- Transport
- public static interface Transport.Channel
- extends com.solarmetric.util.Closeable
A communications channel. Each requested stream will be closed
before the next is requested.
Method Summary |
ObjectInput |
getInput()
Return an input stream from the other end, or null if this channel
is no longer connected. |
ObjectOutput |
getOutput()
Return an ouput stream to the other end, or null if this channel
is no longer connected. |
Methods inherited from interface com.solarmetric.util.Closeable |
close |
getOutput
public ObjectOutput getOutput()
throws Exception
- Return an ouput stream to the other end, or null if this channel
is no longer connected.
getInput
public ObjectInput getInput()
throws Exception
- Return an input stream from the other end, or null if this channel
is no longer connected.
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.