|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VirtualSessionTransport
The transport mechanism used by a VirtualSession
should implement this interface. This simply extends ProfileTransport
to provide additional session related methods.
| Method Summary | |
|---|---|
VirtualSession |
getVirtualSession()
Get the virtual session for this connection |
void |
init(VirtualSession session)
Initialise the transport. |
boolean |
isConnected()
Get if the transport is currently connected to a host |
boolean |
isConnectionPending()
Return true if a connection is due to be made |
| Methods inherited from interface com.sshtools.profile.ProfileTransport |
|---|
cloneVirtualSession, connect, disconnect, getHostDescription, getProfile, getProtocolDescription, getProvider, getTransportDescription, isCloneVirtualSessionSupported, isProtocolSecure, isTransportSecure |
| Method Detail |
|---|
boolean isConnected()
isConnected in interface ProfileTransportvoid init(VirtualSession session)
session - virtual sessionVirtualSession getVirtualSession()
boolean isConnectionPending()
true if a connection is due to be made
isConnectionPending in interface ProfileTransport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||