All Packages Class Hierarchy This Package Previous Next Index
Class Ice.ICE
java.lang.Object
|
+----Ice.ICE
- public final class ICE
- extends Object
The ICE Class is only needed as a Java-Replacement of ICE's
include/ice.h
It is used (in copies) by the Ice-Java-Server and Client
This class is automatic generated from its corresponding C-header files
to keep this class consistent to ICE and including machine dependend settings
which concern the ICE-server. The ICE-Java interface istself is (or at least
should be) machine independend more or less as all ICE-Interfaces.
This class contains a number of public static variables which should be used
for message tags, channel flags, and configuration settings. Using their
values direct is unsecure since they could change (if they change in ICE).
There are also some static method which return information about the used
ICE-server release and this interface release.
- Version:
- 1.0, 19 Nov 1997
- Author:
- Volker Weber
-
ANY
- Give me any message tag (only for receive methods)
(message tag)
-
ANYCHAN
- Listen to any channel
(channel flag)
-
BASE
- Base channel
(channel flag)
-
BlockDel
- Block deletion
(configuration switch)
-
BlockSend
- Block sending
(configuration switch)
-
Client
- Setup as client (iVal (port != 0) and sVal (host != null) possible)
Note: This configure needs to be set before ICE.Init()
-
CMPTAG
- listen to any tag for a distinct component
(message tag)
-
ErrIgnore
- Ignore Errors
(configuration switch)
-
IlsGroup
- Set ILS group
(configuration switch; requires sVal)
-
NoBlockDel
- No Block deletion
(configuration switch)
-
NoBlockSend
- No Block sending
(configuration switch)
-
NONE
- The nonexisting message tag
(message tag)
-
NORMAL
- Normal channel
(channel flag)
-
NOTAG
- No tag (used for additional channels)
(message tag)
-
RAW
- Fast channel (no XDR)
(channel flag)
-
Server
- Setup as server (iVal (port != 0) possible)
Note: This configure needs to be set before ICE.Init()
-
SYNCH
- Synchronized channel
(channel flag)
-
TOKEN
- Tokenized channel
(channel flag)
-
Configure(int, int, String)
- This method is used to change several configuration options that affect
the operation of ICE
(Configure(...)).
-
Init()
- This is the initialization function for the ICE-Java - Interface
(Ice_Init()).
-
JavaMajorRelease()
- Give the ICE/Java-Interface-Major-Release number
-
JavaMinorRelease()
- Give the ICE/Java-Interface-Minor-Release number
-
JavaPatchRelease()
- Give the ICE/Java-Interface-Patch-Level number
-
JavaRelease()
- Give the ICE/Java-Interface-Release-String
-
MajorRelease()
- Give the
ICE-Major-Release number
from the ICE-Java-Server
-
MinorRelease()
- Give the
ICE-Minor-Release number
from the ICE-Java-Server
-
PatchRelease()
- Give the ICE-Patch-Level number from the ICE-Java-Server
-
Release()
- Give the
ICE-Release-String
from the ICE-Java-server
NONE
public static final int NONE
- The nonexisting message tag
(message tag)
ANY
public static final int ANY
- Give me any message tag (only for receive methods)
(message tag)
NOTAG
public static final int NOTAG
- No tag (used for additional channels)
(message tag)
CMPTAG
public static final int CMPTAG
- listen to any tag for a distinct component
(message tag)
ANYCHAN
public static final int ANYCHAN
- Listen to any channel
(channel flag)
BASE
public static final int BASE
- Base channel
(channel flag)
NORMAL
public static final int NORMAL
- Normal channel
(channel flag)
SYNCH
public static final int SYNCH
- Synchronized channel
(channel flag)
RAW
public static final int RAW
- Fast channel (no XDR)
(channel flag)
TOKEN
public static final int TOKEN
- Tokenized channel
(channel flag)
BlockSend
public static final int BlockSend
- Block sending
(configuration switch)
- See Also:
- Configure
NoBlockSend
public static final int NoBlockSend
- No Block sending
(configuration switch)
- See Also:
- Configure
BlockDel
public static final int BlockDel
- Block deletion
(configuration switch)
- See Also:
- Configure
NoBlockDel
public static final int NoBlockDel
- No Block deletion
(configuration switch)
- See Also:
- Configure
ErrIgnore
public static final int ErrIgnore
- Ignore Errors
(configuration switch)
- See Also:
- Configure
IlsGroup
public static final int IlsGroup
- Set ILS group
(configuration switch; requires sVal)
- See Also:
- Configure
Server
public static final int Server
- Setup as server (iVal (port != 0) possible)
Note: This configure needs to be set before ICE.Init()
- See Also:
- Configure, Init
Client
public static final int Client
- Setup as client (iVal (port != 0) and sVal (host != null) possible)
Note: This configure needs to be set before ICE.Init()
- See Also:
- Configure, Init
Release
public static final String Release()
- Give the
ICE-Release-String
from the ICE-Java-server
- Returns:
- ICE-Release-String
MajorRelease
public static final int MajorRelease()
- Give the
ICE-Major-Release number
from the ICE-Java-Server
- Returns:
- ICE-Major-Release number
MinorRelease
public static final int MinorRelease()
- Give the
ICE-Minor-Release number
from the ICE-Java-Server
- Returns:
- ICE-Minor-Release number
PatchRelease
public static final int PatchRelease()
- Give the ICE-Patch-Level number from the ICE-Java-Server
- Returns:
- ICE-Patch-Level number
JavaRelease
public static final String JavaRelease()
- Give the ICE/Java-Interface-Release-String
- Returns:
- ICE/Java-Interface-Release-String
JavaMajorRelease
public static final int JavaMajorRelease()
- Give the ICE/Java-Interface-Major-Release number
- Returns:
- ICE/Java-Interface-Major-Release number
JavaMinorRelease
public static final int JavaMinorRelease()
- Give the ICE/Java-Interface-Minor-Release number
- Returns:
- ICE/Java-Interface-Minor-Release number
JavaPatchRelease
public static final int JavaPatchRelease()
- Give the ICE/Java-Interface-Patch-Level number
- Returns:
- ICE/Java-Interface-Patch-Level number
Configure
public static void Configure(int what,
int iVal,
String sVal)
- This method is used to change several configuration options that affect
the operation of ICE
(Configure(...)).
- Parameters:
- what - Defines which configuration option is changed
- iVal - specifying an int value to some configuration options
- sVal - specifying a String value to some configuration options
- See Also:
- BlockSend, NoBlockSend, BlockDel, NoBlockDel, ErrIgnore, IlsGroup, Server, Client
Init
public static void Init()
- This is the initialization function for the ICE-Java - Interface
(Ice_Init()).
- See Also:
- Configure, Server, Client
All Packages Class Hierarchy This Package Previous Next Index