org.objectweb.joram.mom.proxies.soap
Class SoapProxyService
java.lang.Object
org.objectweb.joram.mom.proxies.soap.SoapProxyService
public class SoapProxyService
extends java.lang.Object
The
SoapProxyService
class implements the SOAP service
accessed by the JORAM clients using a
SoapConnection
for
connecting to the MOM.
java.util.Hashtable | getReply(String name, int cnxId) - Service method: returns a Hashtable containing an
AbstractJmsReply reply or MOM messages destinated to a
given connection context.
|
void | send(String name, int cnxId, java.util.Hashtable h) - Service method: passes a hashtable containing an
AbstractJmsRequest client request or MOM messages to the
proxy.
|
int | setConnection(String userName, String userPassword, int heartBeat) - Service method: returns the identifier of a given user connection,
or -1 if it is not a valid user of the SOAP proxy.
|
void | start(int serverId, String serverName) - Service method: called by the SOAP client for instanciating the SOAP
service and starting the embedded JORAM server.
|
getReply
public java.util.Hashtable getReply(String name,
int cnxId)
throws Exception
Service method: returns a Hashtable containing an
AbstractJmsReply
reply or MOM messages destinated to a
given connection context.
cnxId
- The identifier of the requesting connection.
send
public void send(String name,
int cnxId,
java.util.Hashtable h)
throws Exception
Service method: passes a hashtable containing an
AbstractJmsRequest
client request or MOM messages to the
proxy.
cnxId
- The sending connection.h
- Hashtable containing a request or MOM messages.
setConnection
public int setConnection(String userName,
String userPassword,
int heartBeat)
throws Exception
Service method: returns the identifier of a given user connection,
or -1 if it is not a valid user of the SOAP proxy.
userName
- User's name.userPassword
- User's password.heartBeat
-
- connection identifier
start
public void start(int serverId,
String serverName)
throws Exception
Service method: called by the SOAP client for instanciating the SOAP
service and starting the embedded JORAM server.
serverId
- Identifier of the embedded server.serverName
- Name of the embedded server.
Copyright B) 2004 Scalagent - All rights reserved