|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.libs.ServiceNodeImplFactory
ServiceNodeImplFactory is the base class for defining Bossman transport interface factories. This abstract base class defined the methods for creating instances of ServiceNodeImpl subclasses, as well as handling various static methods of ServiceNode.
Constructor Summary | |
---|---|
ServiceNodeImplFactory()
|
Method Summary | |
---|---|
abstract boolean |
ConnectionActive(java.lang.String name)
Test to see if a ServiceNode with the given name is currently active. |
abstract ServiceNodeImpl |
CreateServiceNode(java.lang.String name)
Create instance of ServiceNodeImpl subclass appropriate for this factory. |
abstract int |
GetFeatureFlags()
Get global feature flags for local (or server) system. |
abstract int |
GetGlobalTimeout(java.lang.String dest,
int timeout)
Get global default timeout for Commands. |
abstract byte[] |
LocalMACAddress()
Return local (or server, if proxy) MAC address, as byte[6] (abstract) |
abstract byte[][] |
LocalMacAddressList()
|
abstract java.lang.String |
LocalSystemName()
Return local system's name (or server name, for proxy). |
abstract byte[] |
LocalUniqueID()
Return local (or server, if proxy) unique ID, as byte[8]. |
abstract void |
RegisterAsServiceBase()
Register this process as a "service base" process, which should not be terminated if the user logs off the system (i.e. |
abstract void |
SetFeatureFlags(int flags)
Set global feature flags for local (or server) system. |
abstract void |
SetGlobalTimeout(int timeout)
Set global default timeout for Commands. |
abstract void |
SetLocalSystemName(java.lang.String name)
Set local system's name (or server name, for proxy). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceNodeImplFactory()
Method Detail |
public abstract ServiceNodeImpl CreateServiceNode(java.lang.String name) throws ServiceNodeClosedException, ServiceNodeException
name
- - name string
ServiceNodeClosedException
- - if ServiceNodeImpl failed to open
ServiceNodeException
- if other problem occurspublic abstract boolean ConnectionActive(java.lang.String name) throws ServiceNodeException
name
- - Name of ServiceNode to check
ServiceNodeException
- if other problem occurspublic abstract void SetGlobalTimeout(int timeout) throws ServiceNodeException
timeout
- - default time-out, in milliseconds
ServiceNodeException
- for other problemspublic abstract int GetGlobalTimeout(java.lang.String dest, int timeout) throws ServiceNodeException
dest
- - destination address of Commandtimeout
- - timeout of Command, in milliseconds
ServiceNodeException
- for other problemspublic abstract java.lang.String LocalSystemName() throws ServiceNodeException
ServiceNodeException
- for other problemspublic abstract void SetLocalSystemName(java.lang.String name) throws ServiceNodeFunctionUnsupportedException, ServiceNodeException
name
- - string for system's name
ServiceNodeFunctionUnsupportedException
- if not implemented
BadServiceNodeImplException
- if no ServiceNodeImplFactory
ServiceNodeException
- for other problemspublic abstract byte[] LocalMACAddress() throws ServiceNodeException
ServiceNodeException
- for other problemspublic abstract byte[][] LocalMacAddressList() throws ServiceNodeException
ServiceNodeException
public abstract byte[] LocalUniqueID() throws ServiceNodeException
ServiceNodeException
- for other problemspublic abstract void RegisterAsServiceBase() throws ServiceNodeFunctionUnsupportedException, ServiceNodeException
ServiceNodeFunctionUnsupportedException
- if not implemented
ServiceNodeException
- for other problemspublic abstract int GetFeatureFlags() throws ServiceNodeException
BadServiceNodeImplException
- if no ServiceNodeImplFactory
ServiceNodeException
- for other problemspublic abstract void SetFeatureFlags(int flags) throws ServiceNodeFunctionUnsupportedException, ServiceNodeException
flags
- - feature flags, as int
ServiceNodeFunctionUnsupportedException
- if not implemented
ServiceNodeException
- for other problems
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |