|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sender remote interface
Method Summary | |
int |
check(int val,
int nb,
int sec)
Checking send methods When the correct number of messages has been retrieved, the records are cleaned up in the database, for further tries. |
void |
clean(int val)
Clean all entity beans for this value |
void |
sendOnQueue(java.lang.String dest,
int val,
int nb)
send a message on queue |
void |
sendOnQueueTx(java.lang.String dest,
int val,
int nb)
send a message on queue (transacted) |
void |
sendOnTopic(java.lang.String dest,
int val,
int nb)
send a message on topic |
void |
sendOnTopicTx(java.lang.String dest,
int val,
int nb)
send messages on topic (transacted) |
Method Detail |
public void sendOnTopic(java.lang.String dest, int val, int nb) throws java.rmi.RemoteException
String
- destinationint
- value set in messageint
- nb of messages sentpublic void sendOnTopicTx(java.lang.String dest, int val, int nb) throws java.rmi.RemoteException
String
- destinationint
- value set in messageint
- nb of messages sentpublic void sendOnQueue(java.lang.String dest, int val, int nb) throws java.rmi.RemoteException
String
- destinationint
- value set in messageint
- nb of messages sentpublic void sendOnQueueTx(java.lang.String dest, int val, int nb) throws java.rmi.RemoteException
String
- destinationint
- value set in messageint
- nb of messages sentpublic int check(int val, int nb, int sec) throws java.rmi.RemoteException
int
- value looked in messages receivedint
- nb of messages that could be receivedint
- nb of seconds max to wait for all messagespublic void clean(int val) throws java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |