NetKernel APIs


org.ten60.netkernel.layer1.accessor
Class ActiveAccessorImpl

java.lang.Object
  extended byorg.ten60.netkernel.layer1.representation.SimpleRepresentationImpl
      extended byorg.ten60.netkernel.layer1.accessor.AccessorImpl
          extended byorg.ten60.netkernel.layer1.accessor.ActiveAccessorImpl
All Implemented Interfaces:
IURAccessor, IURAspect, IURComponent, IURRepresentation, IURRequestee, IURRequestor
Direct Known Subclasses:
DataSchemeAccessor, WormholeAccessor, XAccessor

public abstract class ActiveAccessorImpl
extends AccessorImpl

Base class for implementing active accessors.


Field Summary
 
Fields inherited from class org.ten60.netkernel.layer1.representation.SimpleRepresentationImpl
mMeta
 
Fields inherited from interface com.ten60.netkernel.urii.accessor.IURAccessor
MIME_TYPE
 
Constructor Summary
ActiveAccessorImpl(int aCost, boolean aIsThreadSafe)
          construct a new ActiveAccessorImpl
 
Method Summary
protected  ActiveAccessorMeta getAAMeta()
          Sometimes it is useful to get the ActiveAccessorMeta to make tweeks
protected  void setThreadSafe(boolean aIsThreadSafe)
          set our thread safety
 
Methods inherited from class org.ten60.netkernel.layer1.accessor.AccessorImpl
destroy, finalize, getAccessorMeta, getContainer, getModule, getResource, getScheduler, initialise, receiveAsyncException, receiveAsyncResult, sinkResource, transrepresent
 
Methods inherited from class org.ten60.netkernel.layer1.representation.SimpleRepresentationImpl
getAspect, getAspects, getMeta, hasAspect
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ten60.netkernel.urrequest.IURRequestee
requestAsync
 
Methods inherited from interface com.ten60.netkernel.urii.IURRepresentation
getAspect, getAspects, getMeta, hasAspect
 

Constructor Detail

ActiveAccessorImpl

public ActiveAccessorImpl(int aCost,
                          boolean aIsThreadSafe)
construct a new ActiveAccessorImpl

Parameters:
aCost - the cost of creation of this accessor
aIsThreadSafe - true if the accessor is to be considered threadsafe
Method Detail

setThreadSafe

protected void setThreadSafe(boolean aIsThreadSafe)
set our thread safety


getAAMeta

protected final ActiveAccessorMeta getAAMeta()
Sometimes it is useful to get the ActiveAccessorMeta to make tweeks


NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.