|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Implementations of this extension of VirtualSessionTransport are responsible
for making connections, performing any protocol initialisation and handshakes
when used with a character terminal like based system. The virtual terminal is provided with an
InputStream to read data coming back from the host and an
OutputStream that the emulation can write data back to the host.
| Method Summary | |
int |
getDefaultEOL()
Return the default line edings type. |
java.io.InputStream |
getErrorInputStream()
Return an InputStream from which error data can be read from the host. |
java.io.InputStream |
getInputStream()
Return an InputStream from which data from the host can be read |
java.io.OutputStream |
getOutputStream()
Return an OutputStream on to which the emulation can write data back to the host |
void |
setScreenSize(int w,
int h)
Send a request to set the screen size. |
| Methods inherited from interface com.sshtools.virtualsession.VirtualSessionTransport |
getVirtualSession, init, isConnected, isConnectionPending |
| Methods inherited from interface com.sshtools.profile.ProfileTransport |
cloneVirtualSession, connect, disconnect, getHostDescription, getProfile, getProtocolDescription, getProvider, getTransportDescription, isCloneVirtualSessionSupported |
| Method Detail |
public void setScreenSize(int w,
int h)
w - new widthh - new heightpublic java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public java.io.InputStream getErrorInputStream()
null
will be returned.
public int getDefaultEOL()
Return the default line edings type. The transport may know (or try to determine) whether to expect CR or CR+LF sequences when the user presses ENTER. If the transport cannot determine this it should just return EOL_DEFAULT. Possible values are :-
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||