|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.handler.HandlerInfo
This class acts as a container for handler info. It holds a reference to a widget handler, the subscription id, the id of the widget, the name of the callback on the subscriber side, and the name of the callback on the widget side.
Handler
Constructor Summary | |
HandlerInfo()
Basic empty constructor |
|
HandlerInfo(Handler handler,
java.lang.String subId,
java.lang.String remoteId,
java.lang.String subCallback)
Constructor |
|
HandlerInfo(Handler handler,
java.lang.String subId,
java.lang.String remoteId,
java.lang.String remoteHost,
int remotePort,
java.lang.String subCallback)
Full constructor that takes all input parameters |
Method Summary | |
Handler |
getHandler()
Returns the context widget handler |
java.lang.String |
getRemoteHost()
Returns the widget host |
java.lang.String |
getRemoteId()
Returns the widget id |
int |
getRemotePort()
Returns the widget port |
java.lang.String |
getSubId()
Returns the subscription id |
java.lang.String |
getSubscriptionCallback()
Returns the name of the subscription callback |
void |
setHandler(Handler handler)
Sets the context widget handler |
void |
setRemoteHost(java.lang.String host)
Sets the widget host |
void |
setRemoteId(java.lang.String id)
Sets the widget id |
void |
setRemotePort(int port)
Sets the widget port |
void |
setSubId(java.lang.String id)
Sets the subscription id |
void |
setSubscriptionCallback(java.lang.String subCallback)
Sets the name of the subscription callback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HandlerInfo()
public HandlerInfo(Handler handler, java.lang.String subId, java.lang.String remoteId, java.lang.String remoteHost, int remotePort, java.lang.String subCallback)
handler
- Reference to a context widget handlersubId
- Subscription id of a subscriber. This is returned anytime a callback
message is sent between the subscriber to the widget (in either direction).remoteId
- Id of the widget objectpublic HandlerInfo(Handler handler, java.lang.String subId, java.lang.String remoteId, java.lang.String subCallback)
handler
- Reference to a context widget handlersubId
- Subscription id of a subscriber. This is returned anytime a callback
message is sent between the subscriber to the widget (in either direction).remoteId
- Id of the widget objectMethod Detail |
public java.lang.String getSubId()
public void setSubId(java.lang.String id)
public java.lang.String getRemoteId()
public void setRemoteId(java.lang.String id)
public java.lang.String getRemoteHost()
public void setRemoteHost(java.lang.String host)
public int getRemotePort()
public void setRemotePort(int port)
public java.lang.String getSubscriptionCallback()
public void setSubscriptionCallback(java.lang.String subCallback)
public Handler getHandler()
public void setHandler(Handler handler)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |