|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.exolab.jms.server.mipc.IpcJmsServer
This class implements the JmsServerIfc and provides an IPC-based JMS Server.
JmsServer,
IpcJmsReceiver| Constructor Summary | |
IpcJmsServer()
Construct a new IpcJmsServer |
|
| Method Summary | |
void |
addConnection(JmsServerSession session,
org.exolab.core.mipc.MultiplexConnectionIfc connection)
Add a new connection for this client. |
void |
bindConnectionFactories(javax.naming.Context context)
Bind any factory object specified in the configuration file to the specified JNDI context. |
void |
connected(org.exolab.core.mipc.MultiplexConnectionIfc newConnection)
ConnectionNotifierIfc method implementation. |
protected org.exolab.core.mipc.MultiplexConnectionServerIfc |
createServer(int port)
Create an normal connection. |
protected IpcJmsReceiver |
getReceiver()
Returns a new receiver for handling requests |
protected org.exolab.jms.config.types.SchemeType |
getScheme()
Returns the connector scheme for this server. |
protected org.exolab.jms.config.TcpConfigurationType |
getTcpConfiguration()
Returns the TCP configuration |
void |
init()
Start the Ipc service in its own thread. |
void |
removeAllConnections()
Remove all managed client connections |
void |
removeConnection(JmsServerSession session,
org.exolab.core.mipc.MultiplexConnectionIfc connection)
Remove this sessions connection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IpcJmsServer()
IpcJmsServer| Method Detail |
public void connected(org.exolab.core.mipc.MultiplexConnectionIfc newConnection)
connected in interface org.exolab.core.mipc.ConnectionNotifierIfc
public void init()
throws ServerException
init in interface JmsServerIfcorg.exolab.jms.server.JmsServerIfcServerException - if the interface cannot be initialised
public void bindConnectionFactories(javax.naming.Context context)
throws javax.naming.NamingException,
ServerException
JmsServerIfcbindConnectionFactories in interface JmsServerIfcorg.exolab.jms.server.JmsServerIfccontext - context to bind factory objectsjavax.naming.NamingException - if a naming error occursServerException - if a server error occurs
public void addConnection(JmsServerSession session,
org.exolab.core.mipc.MultiplexConnectionIfc connection)
throws java.io.IOException
session - the sessionconnection - the connection to the clientjava.io.IOException - if a connection error occurs
public void removeConnection(JmsServerSession session,
org.exolab.core.mipc.MultiplexConnectionIfc connection)
session - the sessionconnection - the connection to the clientpublic void removeAllConnections()
protected org.exolab.core.mipc.MultiplexConnectionServerIfc createServer(int port)
throws java.io.IOException
port - The port number to use.java.io.IOException - if the server fails to initialise the ip serviceprotected org.exolab.jms.config.types.SchemeType getScheme()
protected org.exolab.jms.config.TcpConfigurationType getTcpConfiguration()
protected IpcJmsReceiver getReceiver()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||