org.mobicents.slee.resource.xcapclient.handler
Class AbstractAsyncHandler
java.lang.Object
org.mobicents.slee.resource.xcapclient.handler.AbstractAsyncHandler
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- AsyncDeleteHandler, AsyncDeleteIfMatchHandler, AsyncDeleteIfNoneMatchHandler, AsyncGetHandler, AsyncPutByteArrayContentHandler, AsyncPutIfMatchByteArrayContentHandler, AsyncPutIfMatchStringContentHandler, AsyncPutIfNoneMatchByteArrayContentHandler, AsyncPutIfNoneMatchStringContentHandler, AsyncPutStringContentHandler
public abstract class AbstractAsyncHandler
- extends java.lang.Object
- implements java.lang.Runnable
Asbtract class for a handler
- Author:
- emmartins
|
Field Summary |
protected org.mobicents.slee.resource.xcapclient.XCAPResourceAdaptorActivityHandle |
handle
|
protected org.openxdm.xcap.common.key.XcapUriKey |
key
|
protected XCAPClientResourceAdaptor |
ra
|
|
Method Summary |
protected abstract org.openxdm.xcap.client.Response |
doRequest()
To be implemented by concrete handler, sends the request to the XCAP and
processes response. |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected org.openxdm.xcap.common.key.XcapUriKey key
ra
protected XCAPClientResourceAdaptor ra
handle
protected org.mobicents.slee.resource.xcapclient.XCAPResourceAdaptorActivityHandle handle
AbstractAsyncHandler
protected AbstractAsyncHandler(XCAPClientResourceAdaptor ra,
org.mobicents.slee.resource.xcapclient.XCAPResourceAdaptorActivityHandle handle,
org.openxdm.xcap.common.key.XcapUriKey key)
doRequest
protected abstract org.openxdm.xcap.client.Response doRequest()
throws java.lang.Exception
- To be implemented by concrete handler, sends the request to the XCAP and
processes response.
- Returns:
-
- Throws:
java.io.IOException
java.lang.Exception
run
public void run()
- Specified by:
run in interface java.lang.Runnable
Copyright © 2008. All Rights Reserved.