|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--context.arch.widget.WidgetHandle
This class implements a widget handler object, encapsulating the information needed to subscribe to a widget.
WidgetHandles
Constructor Summary | |
WidgetHandle(java.lang.String id,
java.lang.String hostname,
int port)
Basic constructor that creates a WidgetHandle object. |
|
WidgetHandle(java.lang.String id,
java.lang.String hostname,
java.lang.String port)
Basic constructor that creates a WidgetHandle object. |
Method Summary | |
java.lang.String |
getHostName()
Returns the name of the subscriber's host computer |
java.lang.String |
getId()
Returns the id of the subscriber |
int |
getPort()
Returns the port number to send info to |
void |
setHostName(java.lang.String hostname)
Sets the name of the subscriber's host computer |
void |
setId(java.lang.String id)
Sets the id of the subscriber |
void |
setPort(int port)
Sets the port number to send info to |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public WidgetHandle(java.lang.String id, java.lang.String hostname, int port)
id
- ID of the widget being subscribed tohostname
- Name of the widget's host computerport
- Port number of the widgetpublic WidgetHandle(java.lang.String id, java.lang.String hostname, java.lang.String port)
id
- ID of the widget being subscribed tohostname
- Name of the widget's host computerport
- Port number of the widgetMethod Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
id
- ID of the subscriberpublic java.lang.String getHostName()
public void setHostName(java.lang.String hostname)
hostname
- Name of the subscriber's host computerpublic int getPort()
public void setPort(int port)
port
- Port number to send information topublic java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |