synergynetframework.appsystem.services.net.landiscovery.multicast
Class ServiceDiscoveryParams

java.lang.Object
  extended by synergynetframework.appsystem.services.net.landiscovery.multicast.ServiceDiscoveryParams

public class ServiceDiscoveryParams
extends java.lang.Object

The Class ServiceDiscoveryParams.


Field Summary
static int BROWSER_QUERY_INTERVAL
          The Constant BROWSER_QUERY_INTERVAL.
static int BROWSER_SOCKET_TIMEOUT
          The Constant BROWSER_SOCKET_TIMEOUT.
static int RESPONDER_SOCKET_TIMEOUT
          The Constant RESPONDER_SOCKET_TIMEOUT.
 
Constructor Summary
ServiceDiscoveryParams()
          Instantiates a new service discovery params.
 
Method Summary
 int getDatagramLength()
          Gets the datagram length.
 java.net.InetAddress getMulticastGroup()
          Gets the multicast group.
 int getMulticastPort()
          Gets the multicast port.
 void setDatagramLength(int datagramLength)
          Sets the datagram length.
 void setMulticastGroup(java.net.InetAddress multicastGroup)
          Sets the multicast group.
 void setMulticastPort(int multicastPort)
          Sets the multicast port.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BROWSER_QUERY_INTERVAL

public static final int BROWSER_QUERY_INTERVAL
The Constant BROWSER_QUERY_INTERVAL.

See Also:
Constant Field Values

BROWSER_SOCKET_TIMEOUT

public static final int BROWSER_SOCKET_TIMEOUT
The Constant BROWSER_SOCKET_TIMEOUT.

See Also:
Constant Field Values

RESPONDER_SOCKET_TIMEOUT

public static final int RESPONDER_SOCKET_TIMEOUT
The Constant RESPONDER_SOCKET_TIMEOUT.

See Also:
Constant Field Values
Constructor Detail

ServiceDiscoveryParams

public ServiceDiscoveryParams()
                       throws java.net.UnknownHostException
Instantiates a new service discovery params.

Throws:
java.net.UnknownHostException - the unknown host exception
Method Detail

getDatagramLength

public int getDatagramLength()
Gets the datagram length.

Returns:
the datagram length

getMulticastGroup

public java.net.InetAddress getMulticastGroup()
Gets the multicast group.

Returns:
the multicast group

getMulticastPort

public int getMulticastPort()
Gets the multicast port.

Returns:
the multicast port

setDatagramLength

public void setDatagramLength(int datagramLength)
Sets the datagram length.

Parameters:
datagramLength - the new datagram length

setMulticastGroup

public void setMulticastGroup(java.net.InetAddress multicastGroup)
Sets the multicast group.

Parameters:
multicastGroup - the new multicast group

setMulticastPort

public void setMulticastPort(int multicastPort)
Sets the multicast port.

Parameters:
multicastPort - the new multicast port