Package cern.dip
Class Dip
- java.lang.Object
-
- cern.dip.Dip
-
public class Dip extends java.lang.Object
Bootstrapping object to start the DIPimplementation. Instanciates the DIP factory object (singleton) as ensures only 1 instance is ever created.
-
-
Constructor Summary
Constructors Constructor Description Dip()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DipFactory
create()
Set up a DIPfactory for use as a client only.static DipFactory
create(java.lang.String name)
Set up a DipFactory for up for use as client and/or server.static DipFactory
create(java.lang.String name, java.lang.String dipnsServers)
Set up a DipFactory for up for use as client and/or server.static java.lang.String
getDipVersion()
Get the current DIP version as a String.
-
-
-
Method Detail
-
create
public static DipFactory create()
Set up a DIPfactory for use as a client only. If the DipFactory has already been created as a server, this call will have no effect.- Returns:
- the DipFactory instance configured for use as client
- See Also:
DipFactory
-
getDipVersion
public static java.lang.String getDipVersion()
Get the current DIP version as a String.- Returns:
- The current DIP version as a String.
-
create
public static DipFactory create(java.lang.String name)
Set up a DipFactory for up for use as client and/or server. If the DipFactory has already been created as a client, this call will have no effect.- Parameters:
name
- Name of this DIM Server as declared to the name server (must be unique)- Returns:
- the DipFactory instance configured for use as client/server
- See Also:
DipFactory
-
create
public static DipFactory create(java.lang.String name, java.lang.String dipnsServers)
Set up a DipFactory for up for use as client and/or server. If the DipFactory has already been created as a client, this call will have no effect.- Parameters:
name
- Name of this DIM Server as declared to the name server (must be unique)dipnsServers
- Comma-separated lists of DIP name server hostnames (e.g. "dipns1,dipns2")- Returns:
- the DipFactory instance configured for use as client/server
- Since:
- 5.5.5
- See Also:
DipFactory
,create()
-
-