|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrcf.core.framework.component.DynamicComponent.Abstract
radtools.services.AbstractRADService
radtools.services.network.AbstractNetworkTunnel<UsernamePasswordPrincipal>
radtools.services.linux.LinuxSession.Tunnel
protected static class LinuxSession.Tunnel
TODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class radtools.services.network.AbstractNetworkTunnel |
|---|
AbstractNetworkTunnel.SessionStateProxy, AbstractNetworkTunnel.State |
| Nested classes/interfaces inherited from class radtools.services.AbstractRADService |
|---|
AbstractRADService.AbstractRADServiceState, AbstractRADService.RefreshTask, AbstractRADService.StateProxy, AbstractRADService.UpdateTask |
| Nested classes/interfaces inherited from interface radtools.security.HostPort |
|---|
HostPort.Default |
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicComponent |
|---|
DynamicComponent.Abstract |
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicBound |
|---|
DynamicBound.GUIType |
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicComponent |
|---|
DynamicComponent.Abstract |
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicBound |
|---|
DynamicBound.GUIType |
| Field Summary |
|---|
| Fields inherited from class radtools.services.network.AbstractNetworkTunnel |
|---|
hostport, port, proxy, session |
| Fields inherited from class radtools.services.AbstractRADService |
|---|
composition, dependency, management, state, window |
| Fields inherited from class rcf.core.framework.component.DynamicComponent.Abstract |
|---|
component, operations, properties |
| Constructor Summary | |
|---|---|
LinuxSession.Tunnel(RADService _management,
LinuxSession _session,
RADService _composition,
HostPort _hostport)
TODO: Javadoc |
|
| Method Summary | |
|---|---|
protected void |
connect()
Connect to AbstractNetworkTunnel.hostport relative to the remote machine using the
AbstractNetworkTunnel.session, and set the AbstractNetworkTunnel.port field to match the local port
being forwarded. |
protected void |
disconnect()
Disconnect from AbstractNetworkTunnel.hostport relative to the remote machine using the
AbstractNetworkTunnel.session, and set the AbstractNetworkTunnel.port field to 0 to
indicate that this tunnel is disconnected. |
| Methods inherited from class radtools.services.network.AbstractNetworkTunnel |
|---|
equals, hashCode, host, hostname, hostport, isConcrete, port, radServiceState, toString |
| Methods inherited from class radtools.services.AbstractRADService |
|---|
check, communication, composition, dependency, icon, management, radTools, refresh, update, window |
| Methods inherited from class rcf.core.framework.component.DynamicComponent.Abstract |
|---|
bind, component, gui, interfaces, isInstance, o, operations, popupMenu, properties |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface radtools.services.RADService |
|---|
communication, composition, dependency, management, refresh, update, window |
| Methods inherited from interface rcf.core.framework.component.DynamicComponent |
|---|
component, operations, properties |
| Methods inherited from interface rcf.core.framework.component.DynamicBound |
|---|
gui |
| Methods inherited from interface rcf.core.framework.component.ReflectedComponent |
|---|
interfaces, isInstance |
| Methods inherited from interface rcf.core.framework.component.ReflectedBindable |
|---|
bind |
| Methods inherited from interface radtools.services.RADService |
|---|
communication, composition, dependency, management, refresh, update, window |
| Methods inherited from interface rcf.core.framework.component.DynamicComponent |
|---|
component, operations, properties |
| Methods inherited from interface rcf.core.framework.component.DynamicBound |
|---|
gui |
| Methods inherited from interface rcf.core.framework.component.ReflectedComponent |
|---|
interfaces, isInstance |
| Methods inherited from interface rcf.core.framework.component.ReflectedBindable |
|---|
bind |
| Constructor Detail |
|---|
public LinuxSession.Tunnel(RADService _management,
LinuxSession _session,
RADService _composition,
HostPort _hostport)
_management - _session - _composition - _hostport - | Method Detail |
|---|
protected void connect()
throws Exception
AbstractNetworkTunnelAbstractNetworkTunnel.hostport relative to the remote machine using the
AbstractNetworkTunnel.session, and set the AbstractNetworkTunnel.port field to match the local port
being forwarded.
connect in class AbstractNetworkTunnel<UsernamePasswordPrincipal>Exceptionprotected void disconnect()
AbstractNetworkTunnelAbstractNetworkTunnel.hostport relative to the remote machine using the
AbstractNetworkTunnel.session, and set the AbstractNetworkTunnel.port field to 0 to
indicate that this tunnel is disconnected. If the connection has already
failed, this method may not throw an exception. The point of this method
is to ensure that this tunnel is no longer connected by whatever means
necessary.
disconnect in class AbstractNetworkTunnel<UsernamePasswordPrincipal>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||