public class EventSourceStub extends DefaultEventSource
inputAttributable, outputAttributable, typeattributes| Constructor and Description |
|---|
EventSourceStub(WSDLOperation operation) |
| Modifier and Type | Method and Description |
|---|---|
EventDelegate |
getDelegate() |
void |
setDelegate(EventDelegate delegate) |
void |
solicitResponseReceived(ParameterValue paramValue,
int eventNumber,
ServiceSubscription subscription)
Callback method for receiving responses to sent events if they are from
type
solicit-response. |
fire, getSubscriptionCount, getType, isNotification, isSolicitResponse, notificationCommunicationException, solicitResponseException, solicitResponseFaultReceived, subscribe, subscribeaddCustomComplexType, addFault, addInputParameter, addOutputParameter, clearCustomComplexTypes, createFaultValue, createFaultValue, createInputValue, createInputValue, createOutputValue, createOutputValue, equals, getCustomComplexTypes, getFault, getFaultAttribute, getFaultAttributes, getFaultCount, getFaults, getInput, getInputAction, getInputAttribute, getInputAttributes, getInputName, getInputParameter, getName, getNameQuallified, getOutput, getOutputAction, getOutputAttribute, getOutputAttributes, getOutputName, getOutputParameter, getPortType, getService, hasFaultAttributes, hashCode, hasInputAttributes, hasOutputAttributes, isInputActionSet, isInputNameSet, isOutputActionSet, isOutputNameSet, removeCustomComplexType, removeFault, setFaultAttribute, setFaultAttributes, setInput, setInputAction, setInputAttribute, setInputAttributes, setInputName, setInputNameInternal, setOutput, setOutputAction, setOutputAttribute, setOutputAttributes, setOutputName, setOutputNameInternal, setService, toStringgetAttribute, getAttributes, hasAttributes, serializeAttributes, setAttribute, setAttribute, setAttributesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateFaultValue, createInputValue, createOutputValue, getFault, getFaultCount, getFaults, getInput, getInputAction, getInputName, getName, getOutput, getOutputAction, getOutputName, getPortType, getServicepublic EventSourceStub(WSDLOperation operation)
public EventDelegate getDelegate()
public void setDelegate(EventDelegate delegate)
public void solicitResponseReceived(ParameterValue paramValue, int eventNumber, ServiceSubscription subscription)
DefaultEventSourcetype
solicit-response. A call to this method is made by the JMEDS
framework each time a subscribed client responds to a fired event source (see DefaultEventSource.fire(ParameterValue, int, CredentialInfo). The parameters sent by the client within its
response are contained within argument paramValue . The value of eventNumber
corresponds to the value passed to DefaultEventSource.fire(ParameterValue, int, CredentialInfo)
when creating the notification to which this response belongs. Finally, argument
subscription contains information allowing identification of the subscriber sending the
response, as well as further details about its subscription (such as expiration time, filter,
etc.).solicitResponseReceived in class DefaultEventSourceparamValue - parameter value from the response receivedeventNumber - number allowing for correlation between sent notifications (solicit requests) and their corresponding
responsessubscription - provides information about the subscriber who sent the response