orca.cod.plugins
Class NetworkConfiguration
java.lang.Object
orca.cod.plugins.NetworkConfiguration
- All Implemented Interfaces:
- IInitialize, ISerialize
public class NetworkConfiguration
- extends java.lang.Object
- implements IInitialize, ISerialize
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyBase
public static final java.lang.String PropertyBase
- See Also:
- Constant Field Values
PropertyMask
public static final java.lang.String PropertyMask
- See Also:
- Constant Field Values
PropertySubnetMask
public static final java.lang.String PropertySubnetMask
- See Also:
- Constant Field Values
PropertyGateway
public static final java.lang.String PropertyGateway
- See Also:
- Constant Field Values
PropertyMin
public static final java.lang.String PropertyMin
- See Also:
- Constant Field Values
PropertyPublicIPSpace
public static final java.lang.String PropertyPublicIPSpace
- See Also:
- Constant Field Values
PropertyNic
public static final java.lang.String PropertyNic
- See Also:
- Constant Field Values
DefaultNic
public static final java.lang.String DefaultNic
- See Also:
- Constant Field Values
privateBlock
protected SubnetBlock privateBlock
publicIPSpace
protected IPList publicIPSpace
minNode
protected int minNode
gateway
protected java.lang.String gateway
nic
protected java.lang.String nic
NetworkConfiguration
public NetworkConfiguration()
initialize
public void initialize()
throws java.lang.Exception
- Description copied from interface:
IInitialize
- Initializes the object.
- Specified by:
initialize in interface IInitialize
- Throws:
java.lang.Exception
configure
public void configure(AuthorityCodSlice slice)
throws java.lang.Exception
- Throws:
java.lang.Exception
unconfigure
public void unconfigure(AuthorityCodSlice slice)
throws java.lang.Exception
- Throws:
java.lang.Exception
revisit
public void revisit(AuthorityCodSlice slice)
throws java.lang.Exception
- Throws:
java.lang.Exception
configure
public void configure(java.lang.String base,
java.lang.String mask,
java.lang.String subnetMask,
int min)
throws java.lang.Exception
- Throws:
java.lang.Exception
configure
public void configure(java.util.Properties p)
throws java.lang.Exception
- Throws:
java.lang.Exception
save
public java.util.Properties save()
throws java.lang.Exception
- Description copied from interface:
ISerialize
- Serializes the object into a properties list.
- Specified by:
save in interface ISerialize
- Returns:
- properties list representing this object
- Throws:
java.lang.Exception
save
public void save(java.util.Properties p)
throws java.lang.Exception
- Description copied from interface:
ISerialize
- Serializes the object into the given properties list.
- Specified by:
save in interface ISerialize
- Parameters:
p - properties list to serialize the object into
- Throws:
java.lang.Exception
reset
public void reset(java.util.Properties p)
throws java.lang.Exception
- Description copied from interface:
ISerialize
- De-serializes the object from the given properties list.
- Specified by:
reset in interface ISerialize
- Parameters:
p - properties list containing the serialized version of
the object
- Throws:
java.lang.Exception
revisit
public void revisit(IActorIdentity actor,
java.util.Properties p)
throws java.lang.Exception
- Throws:
java.lang.Exception
setGateway
public void setGateway(java.lang.String gateway)
getGateway
public java.lang.String getGateway()
getMinAddress
public int getMinAddress()
getBase
public java.lang.String getBase()
getMask
public java.lang.String getMask()
getSubnetMask
public java.lang.String getSubnetMask()
Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.