|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.server.mipc.IpcJmsServer
public class 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 SchemeType |
getScheme()
Returns the connector scheme for this server. |
protected 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 JmsServerIfcServerException - if the interface cannot be initialised
public void bindConnectionFactories(javax.naming.Context context)
throws javax.naming.NamingException,
ServerException
JmsServerIfc
bindConnectionFactories in interface JmsServerIfccontext - context to bind factory objects
javax.naming.NamingException - if a naming error occurs
ServerException - 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 client
java.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 SchemeType getScheme()
protected TcpConfigurationType getTcpConfiguration()
protected IpcJmsReceiver getReceiver()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||