NetKernel APIs


org.ten60.netkernel.layer1.accessor
Class NewSimpleNetAccessor

java.lang.Object
  extended byorg.ten60.netkernel.layer1.representation.SimpleRepresentationImpl
      extended byorg.ten60.netkernel.layer1.accessor.AccessorImpl
          extended byorg.ten60.netkernel.layer1.accessor.NewSimpleNetAccessor
All Implemented Interfaces:
IURAccessor, IURAspect, IURComponent, IURRepresentation, IURRequestee, IURRequestor

public class NewSimpleNetAccessor
extends AccessorImpl

Returns an IAspectReadableBinaryStream be resolved as a URL using javas inbuilt resolver. Expiry times are determined from the URLConnection. Results are not buffered in anyway


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
NewSimpleNetAccessor()
          Creates a new instance of NewSimpleNetAccessor
 
Method Summary
 void initialise(Container aContainer, ModuleDefinition aModule)
          initialise the accessor
 void requestAsync(URRequest aRequest)
          Make an asynchronous request
 
Methods inherited from class org.ten60.netkernel.layer1.accessor.AccessorImpl
destroy, finalize, getAccessorMeta, getContainer, getModule, getResource, getScheduler, 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.urii.IURRepresentation
getAspect, getAspects, getMeta, hasAspect
 

Constructor Detail

NewSimpleNetAccessor

public NewSimpleNetAccessor()
Creates a new instance of NewSimpleNetAccessor

Method Detail

initialise

public void initialise(Container aContainer,
                       ModuleDefinition aModule)
                throws NetKernelException
Description copied from class: AccessorImpl
initialise the accessor

Specified by:
initialise in interface IURComponent
Overrides:
initialise in class AccessorImpl
Throws:
NetKernelException

requestAsync

public void requestAsync(URRequest aRequest)
Description copied from interface: IURRequestee
Make an asynchronous request

Parameters:
aRequest - the request being made

NetKernel APIs


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