|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jscape.inet.ssh.connection.channels.Channel
public abstract class Channel
| Nested Class Summary | |
|---|---|
static interface |
Channel.ChannelClosedListener
|
class |
Channel.DataOutputStream
The channel output stream. |
static class |
Channel.Parameters
|
| Method Summary | |
|---|---|
void |
close()
|
Connection |
getConnection()
|
IncomingWindow |
getIncomingWindow()
Get incoming window instance. |
java.io.InputStream |
getInputStream()
|
long |
getLocalNo()
|
java.io.OutputStream |
getOutputStream()
|
Channel.Parameters |
getParameters()
|
int |
getReadTimeout()
Returns current read timeout value. |
long |
getRemoteNo()
|
java.lang.String |
getType()
|
int |
hashCode()
|
boolean |
isClosed()
|
void |
onMessage(Message message)
|
void |
sendRequest(com.jscape.inet.ssh.connection.messages.SshMsgChannelRequest request)
|
void |
setChannelClosedListener(Channel.ChannelClosedListener value)
|
void |
setReadTimeout(int readTimeout)
Setups new read timeout value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public IncomingWindow getIncomingWindow()
public Connection getConnection()
public Channel.Parameters getParameters()
public java.lang.String getType()
public long getLocalNo()
public long getRemoteNo()
public void sendRequest(com.jscape.inet.ssh.connection.messages.SshMsgChannelRequest request)
throws java.io.IOException
request -
ConnectionException
java.io.IOExceptionpublic java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public void close()
public boolean isClosed()
public void onMessage(Message message)
message - public int getReadTimeout()
public void setReadTimeout(int readTimeout)
readTimeout - read timeout value. Must be greater or equal to 0.
In the last case means infinite value.public void setChannelClosedListener(Channel.ChannelClosedListener value)
public int hashCode()
hashCode in class java.lang.Object
|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||