|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.server.mipc.IpcJmsSessionList
public class IpcJmsSessionList
Keep a list of all session Client connections for a client. All sessions for a client are multiplexed through a single connection. Ensure the same connection is used for all the clients sessions, and that the connection is not destroyed until the last session for the client is shutdown.
IpcJmsServer,
IpcJmsSessionSender| Constructor Summary | |
|---|---|
IpcJmsSessionList(org.exolab.core.mipc.MultiplexConnectionIfc connection)
Create a connection to the client listener for sending JmsMessages. |
|
| Method Summary | |
|---|---|
void |
add(JmsServerSession session)
Add a new session sender for the client. |
boolean |
remove(JmsServerSession session)
Remove a sesson notifier. |
void |
removeAll()
Remove all session notfiers and close the client connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IpcJmsSessionList(org.exolab.core.mipc.MultiplexConnectionIfc connection)
throws java.io.IOException
connection - The MultiplexConnection between client and server
java.io.IOException - If a connection error results.| Method Detail |
|---|
public void add(JmsServerSession session)
session - The session to add a notifier onpublic boolean remove(JmsServerSession session)
session - The session to remove the notifier from
public void removeAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||