|
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
public abstract class 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 |
java.lang.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(java.io.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 have
public ComponentImpl(URIdentifier aURI,
boolean aStatic)
aURI - the URI we should haveaStatic - the Components state will never change during the containers lifetime| Method Detail |
|---|
public URIdentifier getURI()
getURI in interface IComponent
public void start(Container aContainer)
throws NetKernelException
start in interface IComponentaContainer - the container we will execute inside
NetKernelException - thrown if we encounter any error during startup
public void stop()
throws NetKernelException
stop in interface IComponentNetKernelException - thrown if we encounter any error during startuppublic void doPeriodicHouseKeeping()
doPeriodicHouseKeeping in interface IComponent
public void write(java.io.OutputStream aStream)
throws java.io.IOException
write in interface IAspectBinaryStreamaStream - the output stream
java.io.IOException - thrown if we fail to writepublic java.lang.String getEncoding()
getEncoding in interface IAspectBinaryStream
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||