|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.discoverer.DiscovererDescription
This class keeps the information describing a discoverer
Discoverer
Field Summary | |
boolean |
available
|
Constructor Summary | |
DiscovererDescription()
Constructor for DiscovererDescription that takes no parameters |
|
DiscovererDescription(java.lang.String dName,
java.lang.String dHostname,
int dPort)
Generic constructor for DiscovererDescription that creates a new description with a name, port and hostname |
Method Summary | |
java.lang.String |
getHostname()
Returns the discoverer hostname |
java.lang.String |
getName()
Returns the discoverer name |
int |
getPort()
Sets the discoverer port |
void |
isAvailable(long time)
|
Error |
setDescription(DataObject data)
Sets the discoverer description contained in a DataObject |
Error |
setHostname(DataObject data)
Set the discoverer hostname contained in a DataObject |
void |
setHostname(java.lang.String discovererHostname)
Sets the discoverer hostname |
Error |
setName(DataObject data)
Set the discoverer name contained in a DataObject |
void |
setName(java.lang.String discovererName)
Sets the discoverer name |
Error |
setPort(DataObject data)
Set the discoverer port contained in a DataObject |
void |
setPort(int discovererPort)
Sets the discoverer port |
java.lang.String |
toString()
Returns a printable version of the discoverer description |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public boolean available
Constructor Detail |
public DiscovererDescription(java.lang.String dName, java.lang.String dHostname, int dPort)
dName
- The discoverer namedHostname
- The discoverer hostnamedPort
- The discoverer portDiscoverer
public DiscovererDescription()
Method Detail |
public void setName(java.lang.String discovererName)
discovererName
- The discoverer nameDiscoverer
public Error setName(DataObject data)
data
- The DataObject containing the name
Discoverer
,
DataObject
public void setHostname(java.lang.String discovererHostname)
discovererHostname
- The discoverer hostnameDiscoverer
public Error setHostname(DataObject data)
data
- The DataObject containing the hostname
Discoverer
,
DataObject
public void setPort(int discovererPort)
Discoverer
public Error setPort(DataObject data)
data
- The DataObject containing the port
Discoverer
,
DataObject
public java.lang.String getName()
Discoverer
public java.lang.String getHostname()
Discoverer
public int getPort()
Discoverer
public java.lang.String toString()
Discoverer
public Error setDescription(DataObject data)
data
- The DataObject containing the description
Discoverer
public void isAvailable(long time)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |