Class CIMIndicationHandler
- java.lang.Object
-
- org.sblim.cimclient.internal.http.HttpContentHandler
-
- org.sblim.cimclient.internal.wbem.indications.CIMIndicationHandler
-
public class CIMIndicationHandler extends HttpContentHandler
Handles the HTTP connections, providing the necessary interfaces for CIMListener server.
-
-
Constructor Summary
Constructors Constructor Description CIMIndicationHandler(CIMEventDispatcher pDispatcher)Ctor.CIMIndicationHandler(CIMEventDispatcher pDispatcher, WBEMConfiguration pProperties)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the handlerprotected voidfinalize()intgetMsgID()getMsgIDvoidhandleContent(MessageReader pReader, MessageWriter pWriter, java.net.InetAddress pInetAddress, java.lang.String pLocalAddress)Handles the content of a given connection
-
-
-
Constructor Detail
-
CIMIndicationHandler
public CIMIndicationHandler(CIMEventDispatcher pDispatcher)
Ctor.- Parameters:
pDispatcher-
-
CIMIndicationHandler
public CIMIndicationHandler(CIMEventDispatcher pDispatcher, WBEMConfiguration pProperties)
Ctor.- Parameters:
pDispatcher-pProperties-
-
-
Method Detail
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
close
public void close()
Description copied from class:HttpContentHandlerCloses the handler- Specified by:
closein classHttpContentHandler
-
getMsgID
public int getMsgID()
getMsgID- Returns:
- int
-
handleContent
public void handleContent(MessageReader pReader, MessageWriter pWriter, java.net.InetAddress pInetAddress, java.lang.String pLocalAddress) throws HttpException, java.io.IOException
Description copied from class:HttpContentHandlerHandles the content of a given connection- Specified by:
handleContentin classHttpContentHandler- Parameters:
pReader- The reader of the connectionpWriter- The writer of the connectionpInetAddress- The remote network addresspLocalAddress- The local network address- Throws:
HttpExceptionjava.io.IOException
-
-