|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.protocol.ProcessImpl
Implementation of the Process
interface. This class can be overriden
to produce customized processes for particular protocols.
Field Summary | |
protected short |
id
Identifier of the process. |
Constructor Summary | |
ProcessImpl(short id)
Allocates a new ProcessImpl object. |
Method Summary | |
Object |
clone()
Clones the process. |
int |
compareTo(Object o)
|
boolean |
equals(Object arg0)
|
short |
getId()
Returns the identifier of the process. |
int |
hashCode()
|
void |
readExternal(ObjectInput in)
|
void |
setId(short id)
Sets the identifier of the process. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected short id
Constructor Detail |
public ProcessImpl(short id)
id
- the identifier of the processMethod Detail |
public final short getId()
getId
in interface Process
public void setId(short id)
Process
setId
in interface Process
id
- the identifier to set.Process.setId(short)
public Object clone() throws CloneNotSupportedException
Process
clone
in interface Process
CloneNotSupportedException
Object.clone()
public void writeExternal(ObjectOutput out) throws IOException
IOException
Externalizable.writeExternal(java.io.ObjectOutput)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Externalizable.readExternal(java.io.ObjectInput)
public boolean equals(Object arg0)
Object.equals(java.lang.Object)
public int hashCode()
Object.hashCode()
public int compareTo(Object o)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |