CSP for Java
(JCSP) 1.1-rc4

org.jcsp.net
Class UIFactory

java.lang.Object
  extended by org.jcsp.net.UIFactory

public class UIFactory
extends Object

This class is a Factory that construct a unique identify for this Node. There is only ever one Node per JVM.

This class can subclassed and the subclass can be set to be used in place of this class. See the documentation for the Node class.

Author:
Quickstone Technologies Limited

Constructor Summary
UIFactory()
           
 
Method Summary
 NodeUI getUIForThisJVM()
           Returns a Serializable object that is a unique identifier for this Node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFactory

public UIFactory()
Method Detail

getUIForThisJVM

public NodeUI getUIForThisJVM()

Returns a Serializable object that is a unique identifier for this Node. The object returned should support the equals(Object) and hashCode() methods of Object.

Returns:
a Serializable unique identifier for this JVM

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.