com.toremote.gateway.connection
Class Connection
java.lang.Object
com.toremote.gateway.connection.Connection
- All Implemented Interfaces:
- java.lang.Cloneable
public class Connection
- extends java.lang.Object
- implements java.lang.Cloneable
Method Summary |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
hasIp(byte[] ip)
check if ip belongs to this server |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TYPE_RDP
public static final java.lang.String TYPE_RDP
- See Also:
- Constant Field Values
TYPE_VNC
public static final java.lang.String TYPE_VNC
- See Also:
- Constant Field Values
id
public java.lang.String id
displayName
public java.lang.String displayName
server
public java.lang.String server
ipRanges
public com.toremote.gateway.connection.IPRange[] ipRanges
shadowing
public boolean shadowing
protocols
public java.lang.String protocols
icon
public java.lang.String icon
rdp
public RdpOption rdp
Connection
public Connection()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hasIp
public boolean hasIp(byte[] ip)
- check if ip belongs to this server
- Parameters:
ip
-
- Returns: