NetKernel APIs


org.ten60.netkernel.layer1.accessor
Class NewSimpleNetAccessor

java.lang.Object
  extended by org.ten60.netkernel.layer1.representation.SimpleRepresentationImpl
      extended by org.ten60.netkernel.layer1.accessor.AccessorImpl
          extended by org.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 requestAsync(URRequest aRequest)
          Make an asynchronous request
 
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.urii.IURRepresentation
getAspect, getAspects, getMeta, hasAspect
 

Constructor Detail

NewSimpleNetAccessor

public NewSimpleNetAccessor()
Creates a new instance of NewSimpleNetAccessor

Method Detail

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.