|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is an interface for NetAddresses used by Net implementation and the NetManager.
When creating new networks, the type of the NetAddress determines the type of the new network. The address has option data for the networks created using this address.
The NetManager will load the implementing classes at runtime. At least two constructors have to exist with the following signatures:
MyNetAddress(String typeID, String label)
This constructors will be used by NetManager to create new instances
when calling NetManager.createAddress() methods.
MyNetAddress(String typeID, String address, Sting label)
Implementations exist for TCP and LRMP networks.
| Method Summary | |
java.lang.String |
getLabel()
returns the label. |
java.lang.Object |
getOptions()
return the options data associated with this address |
java.lang.String |
getType()
returns the type indicator of this NetAddress as defined in properties |
void |
setOptions(java.lang.String options)
set the options data |
| Method Detail |
public java.lang.String getType()
public java.lang.String getLabel()
public java.lang.Object getOptions()
public void setOptions(java.lang.String options)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||