Class NotifyConletModel
- All Implemented Interfaces:
Future<Void>
,Associator
,Eligible
A decoded notification (as defined by the JSON RPC specification) that
invokes a method on a web console component model.
Usually, though
not necessarily, the web console component component responds by sending a
NotifyConletView
to update the web console component representation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Field Summary
Fields inherited from class org.jgrapes.core.internal.EventBase
completed, completionEvents, invokedFor
-
Constructor Summary
ConstructorDescriptionNotifyConletModel
(RenderSupport renderSupport, String conletId, String method, Object[] params) Creates a new event. -
Method Summary
Methods inherited from class org.jgrapes.core.Event
addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toString
Methods inherited from class org.jgrapes.core.internal.EventBase
disableTracking, enqueued, firstResultAssigned, isTracked, onCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jgrapes.core.Associator
associated, associated, associated, associatedGet
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
NotifyConletModel
public NotifyConletModel(RenderSupport renderSupport, String conletId, String method, Object[] params) Creates a new event.- Parameters:
renderSupport
- the render support from the web console in case the response requires itconletId
- the web console component model that the notification is directed atmethod
- the method to be executedparams
- parameters
-
-
Method Details
-
renderSupport
Returns the render support.- Returns:
- the render support
-
conletId
Returns the web console component id.- Returns:
- the web console component id
-
method
Returns the method.- Returns:
- the method
-
params
Returns the parameters.- Returns:
- the parameters
-
param
Returns the selected param, cast to the generic type.- Type Parameters:
T
- the generic type- Parameters:
index
- the index- Returns:
- the t
-