org.objectweb.dream.protocol
Interface Process

All Superinterfaces:
Serializable
All Known Implementing Classes:
ProcessImpl

public interface Process
extends Serializable

This interface represents a process. A process has an identifier (which is a short).


Method Summary
 Object clone()
          Clones the process.
 short getId()
          Returns the identifier of the process.
 void setId(short id)
          Sets the identifier of the process.
 

Method Detail

getId

public short getId()
Returns the identifier of the process.

Returns:
the identifier of the process.

setId

public void setId(short id)
Sets the identifier of the process.

Parameters:
id - the identifier to set.

clone

public Object clone()
             throws CloneNotSupportedException
Clones the process.

Returns:
a clone of the process.
Throws:
CloneNotSupportedException - if the process is not cloneable.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.