|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.jmsmvc4swing.jms.MethodResultSender
public abstract class MethodResultSender
Sends results from the controller with a JMS message to the subscribers.
| Constructor Summary | |
|---|---|
MethodResultSender(JmsJndiEnvironment env,
String topicName,
String methodName,
long id)
Constructor. |
|
| Method Summary | |
|---|---|
void |
failed(Exception ex)
Publish a FAILED message. |
void |
progress(ProgressInfo progressInfo)
Publish a PROGESS event. |
protected void |
publishResult(Data data)
Publish a RESULT message. |
void |
started()
Publish a STARTED message. |
void |
succeded()
Publish a SUCCEDED message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodResultSender(JmsJndiEnvironment env,
String topicName,
String methodName,
long id)
env - Environment to use.topicName - Name of the topic (defined by the controller) to send to.methodName - Name of the method that was called (used for creating the
message properties).id - Unique id of the method call.| Method Detail |
|---|
protected final void publishResult(Data data)
data - Result data.public final void started()
public final void progress(ProgressInfo progressInfo)
progressInfo - Progress information.public final void succeded()
public final void failed(Exception ex)
ex - Exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||