Class SSHPortForwarding
- java.lang.Object
-
- org.teichert.databaseexplorer.beans.SSHPortForwarding
-
public class SSHPortForwarding extends Object
Dataholding-class for SSH-Portforwardings after aSSHConnection
is created.
So a Port-Forwarding always belongs to a parent SSH-Connection via its parentId.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getAssingedPort()
String
getId()
Integer
getLocalPort()
String
getParent()
String
getRemoteHost()
Integer
getRemotePort()
static SSHPortForwarding
loadFromJSONObject(org.json.simple.JSONObject obj)
SSHPortForwarding
setAssingedPort(Integer assingedPort)
SSHPortForwarding
setId(String id)
SSHPortForwarding
setLocalPort(Integer localPort)
SSHPortForwarding
setParent(String parentId)
SSHPortForwarding
setRemoteHost(String remoteHost)
SSHPortForwarding
setRemotePort(Integer remotePort)
String
toString()
-
-
-
Method Detail
-
loadFromJSONObject
public static SSHPortForwarding loadFromJSONObject(org.json.simple.JSONObject obj)
-
setId
public SSHPortForwarding setId(String id)
-
getId
public String getId()
-
setParent
public SSHPortForwarding setParent(String parentId)
-
getParent
public String getParent()
-
setLocalPort
public SSHPortForwarding setLocalPort(Integer localPort)
-
getLocalPort
public Integer getLocalPort()
-
setRemoteHost
public SSHPortForwarding setRemoteHost(String remoteHost)
-
getRemoteHost
public String getRemoteHost()
-
setRemotePort
public SSHPortForwarding setRemotePort(Integer remotePort)
-
getRemotePort
public Integer getRemotePort()
-
setAssingedPort
public SSHPortForwarding setAssingedPort(Integer assingedPort)
-
getAssingedPort
public Integer getAssingedPort()
-
-