|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ten60.netkernel.urii.representation.SimpleRepresentationImpl
com.ten60.netkernel.container.ComponentImpl
Abstract base class of all NetKernel System Components
Field Summary |
Fields inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl |
mMeta |
Constructor Summary | |
ComponentImpl(URIdentifier aURI)
Constructs a new ComponentImpl |
|
ComponentImpl(URIdentifier aURI,
boolean aStatic)
Constructs a new ComponentImpl |
Method Summary | |
void |
doPeriodicHouseKeeping()
doPeriodicHouseKeeping method implemented with null body |
String |
getEncoding()
|
URIdentifier |
getURI()
returns our URI |
void |
start(Container aContainer)
start method implemented with null body |
void |
stop()
stop method implemented with null body |
void |
write(OutputStream aStream)
write method implemented with null body |
Methods inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl |
getAspect, getAspects, getMeta, hasAspect |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ten60.netkernel.urii.IURRepresentation |
getAspect, getAspects, getMeta, hasAspect |
Constructor Detail |
public ComponentImpl(URIdentifier aURI)
aURI
- the URI we should havepublic ComponentImpl(URIdentifier aURI, boolean aStatic)
aURI
- the URI we should haveaStatic
- the Components state will never change during the containers lifetimeMethod Detail |
public URIdentifier getURI()
getURI
in interface IComponent
public void start(Container aContainer) throws NetKernelException
start
in interface IComponent
aContainer
- the container we will execute inside
NetKernelException
- thrown if we encounter any error during startuppublic void stop() throws NetKernelException
stop
in interface IComponent
NetKernelException
- thrown if we encounter any error during startuppublic void doPeriodicHouseKeeping()
doPeriodicHouseKeeping
in interface IComponent
public void write(OutputStream aStream) throws IOException
write
in interface IAspectBinaryStream
aStream
- the output stream
IOException
- thrown if we fail to writepublic String getEncoding()
getEncoding
in interface IAspectBinaryStream
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |