com.sentilla.host.client.gateway
Class GatewayNode

java.lang.Object
  extended by com.sentilla.host.client.gateway.GatewayNode
All Implemented Interfaces:
Serializable

public class GatewayNode
extends Object
implements Serializable

Author:
andrew
See Also:
Serialized Form

Field Summary
private  int channel
           
private  Mac64Address gatewayId
           
private  int lplInterval
           
private  String name
           
private static long serialVersionUID
           
 
Constructor Summary
GatewayNode(String name)
           
GatewayNode(String name, Mac64Address gatewayId, int channel)
           
 
Method Summary
 int getGatewayChannel()
          Returns the channel
 Mac64Address getGatewayId()
          Returns the gateway id of this gateway.
 int getGatewayLPLInterval()
          Returns the LPL interval burned in this gateway's firmware
 String getName()
          Returns the name of this gateway.
 boolean setGatewayChannel(int channel)
          Sets the gateway channel
 boolean setGatewayId(Long gatewayId)
          Sets the gateway id of this gateway.
 void setGatewayLPLInterval(int interval)
          Sets the LPL interval burned in this gateway's firmware
 boolean setName(String name)
          Sets the name of this gateway.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

private String name

gatewayId

private Mac64Address gatewayId

channel

private int channel

lplInterval

private int lplInterval
Constructor Detail

GatewayNode

public GatewayNode(String name)

GatewayNode

public GatewayNode(String name,
                   Mac64Address gatewayId,
                   int channel)
Method Detail

getName

public String getName()
Returns the name of this gateway.

Returns:
the name of this gateway

setName

public boolean setName(String name)
Sets the name of this gateway.

Returns:
the name of this gateway

getGatewayId

public Mac64Address getGatewayId()
Returns the gateway id of this gateway.

Returns:
the gateway id of this gateway

setGatewayId

public boolean setGatewayId(Long gatewayId)
Sets the gateway id of this gateway.

Returns:
true

getGatewayChannel

public int getGatewayChannel()
Returns the channel

Returns:
the channel setting for this gatway

setGatewayChannel

public boolean setGatewayChannel(int channel)
Sets the gateway channel

Parameters:
channel -
Returns:
true

setGatewayLPLInterval

public void setGatewayLPLInterval(int interval)
Sets the LPL interval burned in this gateway's firmware

Parameters:
interval - LPL interval in milliseconds

getGatewayLPLInterval

public int getGatewayLPLInterval()
Returns the LPL interval burned in this gateway's firmware



Copyright © 2007 Sentilla, Inc. All Rights Reserved.