com.toremote.gateway.connection
Class Connection

java.lang.Object
  extended by com.toremote.gateway.connection.Connection
All Implemented Interfaces:
java.lang.Cloneable

public class Connection
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
 java.lang.String displayName
           
 java.lang.String icon
           
 java.lang.String id
           
 com.toremote.gateway.connection.IPRange[] ipRanges
           
 java.lang.String protocols
           
 RdpOption rdp
           
 java.lang.String server
           
 boolean shadowing
           
static java.lang.String TYPE_RDP
           
static java.lang.String TYPE_VNC
           
 
Constructor Summary
Connection()
           
 
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
 

Field Detail

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
Constructor Detail

Connection

public Connection()
Method Detail

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: