|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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 remoteCallback,
java.lang.String callback)
Full constructor that takes all input parameters |
|
| Method Summary | |
java.lang.String |
getCallback()
Returns the name of the subscription callback |
Handler |
getHandler()
Returns the context widget handler |
java.lang.String |
getRemoteCallback()
Returns the name of the widget callback |
java.lang.String |
getRemoteId()
Returns the widget id |
java.lang.String |
getSubId()
Returns the subscription id |
void |
setCallback(java.lang.String callback)
Sets the name of the subscription callback |
void |
setHandler(Handler handler)
Sets the context widget handler |
void |
setRemoteCallback(java.lang.String remote)
Sets the name of the widget callback |
void |
setRemoteId(java.lang.String id)
Sets the widget id |
void |
setSubId(java.lang.String id)
Sets the subscription id |
| 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 remoteCallback,
java.lang.String callback)
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 objectcallback - Name of the callback on the subscriber sideremoteCallback - Name of the callback on the widget side| Method Detail |
public java.lang.String getSubId()
public void setSubId(java.lang.String id)
the - subscription idpublic java.lang.String getRemoteId()
public void setRemoteId(java.lang.String id)
the - widget idpublic java.lang.String getCallback()
public void setCallback(java.lang.String callback)
the - name of the subscription callbackpublic java.lang.String getRemoteCallback()
public void setRemoteCallback(java.lang.String remote)
the - name of the widget callbackpublic Handler getHandler()
public void setHandler(Handler handler)
the - context widget handler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||