com.platform.ego
Interface Cluster


public interface Cluster

The interface provides a mechanism to control the EGO cluster.

Cluster has a single entry at which the application accesses EGO features.

Version:
1.2.3

Method Summary
 Client getClient(java.lang.String name, java.lang.String description)
          Creates an instance of Client obiect for more operations which need authentication.
 Client getClient(java.lang.String name, java.lang.String description, int port)
          Creates an instance of Client object for more operations that need authentication.
 InfoProvider getInfoProvider()
          Creates an instance of InfoProvider object for use.
 

Method Detail

getClient

Client getClient(java.lang.String name,
                 java.lang.String description)
                 throws EGOException
Creates an instance of Client obiect for more operations which need authentication. But this method only gets a null object.

Returns:
an instance of Client object
Throws:
EGOException

getClient

Client getClient(java.lang.String name,
                 java.lang.String description,
                 int port)
                 throws EGOException
Creates an instance of Client object for more operations that need authentication. But this method only gets a null object.

Parameters:
port - - specifies the notification port where messages from WSG can be received. Note: The port is enabled only after registering the client to EGO or invoking client.getService().
Returns:
an instance of Client object
Throws:
EGOException

getInfoProvider

InfoProvider getInfoProvider()
                             throws EGOException
Creates an instance of InfoProvider object for use. InfoProvider object is used for information queries that do not need authentication.

Returns:
an instance of InfoProvider object
Throws:
EGOException


Copyright (C) 1992-2007 Platform Computing Corporation