|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeer2me.network.NetworkNode
public abstract class NetworkNode
The is an abstract class used to represent a node
with network specific information.
Should be extended
by the class representing the networktechnology.
I.e. BluetoothNode
extends this class.
Constructor Summary | |
---|---|
NetworkNode()
|
Method Summary | |
---|---|
java.lang.String |
getAddress()
Gets the address of the networknode |
java.lang.String |
getConnectionURL()
Gets the connection url of the networknode |
java.lang.String |
getName()
Gets the name of the networknode |
java.lang.Object |
getObject()
Gets the universal object for the networknode |
abstract java.lang.String |
toString()
The class that inherits this class should override the default toString() , making the output more friendly |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetworkNode()
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getAddress()
public java.lang.String getConnectionURL()
public java.lang.Object getObject()
public abstract java.lang.String toString()
toString()
, making the output more friendly
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |