|
Bus | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.web.server.SOAP.SOAPServer
public class SOAPServer
The SOAP Server is a SOAP message manager.
It receives SOAP message from a soap listener and launch a new thread to process it.
| Nested Class Summary | |
|---|---|
class |
SOAPServer.MessageProcessor
Process the SOAPMessage in a different thread of the soap server : extract datas from the message and call the external service. |
| Constructor Summary | |
|---|---|
SOAPServer(int port_)
Create a SOAP Server listening on port port_. |
|
| Method Summary | |
|---|---|
protected SOAPSenderImpl |
initSoapResponseSender(java.nio.channels.SelectionKey key)
Init the selection key (ip + port) on wich the response of the soap message will be sent. |
void |
onMessage(SOAPMessage requestMsg_,
java.nio.channels.SelectionKey key)
|
void |
setExternalServiceHandler(ExternalServiceHandler externalServiceHandler_)
Set external service handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SOAPServer(int port_)
port_ - - socket port listened by SOAP Server.| Method Detail |
|---|
public void setExternalServiceHandler(ExternalServiceHandler externalServiceHandler_)
externalServiceHandler_ - - the external service handler.protected SOAPSenderImpl initSoapResponseSender(java.nio.channels.SelectionKey key)
key - - init the selection key on the soap sender.
public void onMessage(SOAPMessage requestMsg_,
java.nio.channels.SelectionKey key)
onMessage in interface SOAPCallbackSOAPCallback.onMessage(SOAPMessage, SelectionKey)
|
Bus | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.