org.ten60.netkernel.layer1.accessor
Class NKFWormholeAccessor
java.lang.Object
org.ten60.netkernel.layer1.representation.SimpleRepresentationImpl
org.ten60.netkernel.layer1.nkf.impl.NKFAccessorImpl
org.ten60.netkernel.layer1.accessor.NKFWormholeAccessor
- All Implemented Interfaces:
- IURAccessor, IURAspect, IURComponent, IURRepresentation, IURRequestee, IURRequestor, INKFAsyncRequestListener
public class NKFWormholeAccessor
- extends NKFAccessorImpl
- implements INKFAsyncRequestListener
NKFWormholeAccessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARG_RESOURCE
public static final java.lang.String ARG_RESOURCE
- See Also:
- Constant Field Values
ARG_MODULE
public static final java.lang.String ARG_MODULE
- See Also:
- Constant Field Values
ARG_VERSION
public static final java.lang.String ARG_VERSION
- See Also:
- Constant Field Values
NKFWormholeAccessor
public NKFWormholeAccessor()
- Creates a new instance of NKFWormholeAccessor
processRequest
public void processRequest(INKFConvenienceHelper context)
throws java.lang.Exception
- Description copied from class:
NKFAccessorImpl
- subclasses should override this method to perform work
- Specified by:
processRequest in class NKFAccessorImpl
- Throws:
java.lang.Exception
receiveException
public void receiveException(NKFException aException,
INKFRequest aRequest,
INKFConvenienceHelper context)
throws java.lang.Exception
- Description copied from interface:
INKFAsyncRequestListener
- Called when a request fails. This method will be called only once per request issued.
To cause an exception to propagate to the calling service this method must
re-throw the exception.
- Specified by:
receiveException in interface INKFAsyncRequestListener
- Parameters:
aException - An exception issuing the requestaRequest - The request that was issuedcontext - The context that the request was issued in
- Throws:
java.lang.Exception
receiveRepresentation
public void receiveRepresentation(IURRepresentation aRepresentation,
INKFRequest aRequest,
INKFConvenienceHelper context)
throws java.lang.Exception
- Description copied from interface:
INKFAsyncRequestListener
- Called when the result of a request is made available.
This method will be called only once per request issued.
It is important for this method to call context.setResponse(null)
if it wishes for the request not to be satisfied upon completion
of the method.
- Specified by:
receiveRepresentation in interface INKFAsyncRequestListener
- Parameters:
aRepresentation - The representation that was returned as a
result of the request.aRequest - The request that was issuedcontext - The context that the request was issued in
- Throws:
java.lang.Exception
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.