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

Variable Index

 o ANY
Give me any message tag (only for receive methods) (message tag)
 o ANYCHAN
Listen to any channel (channel flag)
 o BASE
Base channel (channel flag)
 o BlockDel
Block deletion (configuration switch)
 o BlockSend
Block sending (configuration switch)
 o Client
Setup as client (iVal (port != 0) and sVal (host != null) possible)

Note: This configure needs to be set before ICE.Init()

 o CMPTAG
listen to any tag for a distinct component (message tag)
 o ErrIgnore
Ignore Errors (configuration switch)
 o IlsGroup
Set ILS group (configuration switch; requires sVal)
 o NoBlockDel
No Block deletion (configuration switch)
 o NoBlockSend
No Block sending (configuration switch)
 o NONE
The nonexisting message tag (message tag)
 o NORMAL
Normal channel (channel flag)
 o NOTAG
No tag (used for additional channels) (message tag)
 o RAW
Fast channel (no XDR) (channel flag)
 o Server
Setup as server (iVal (port != 0) possible)

Note: This configure needs to be set before ICE.Init()

 o SYNCH
Synchronized channel (channel flag)
 o TOKEN
Tokenized channel (channel flag)

Method Index

 o Configure(int, int, String)
This method is used to change several configuration options that affect the operation of ICE (Configure(...)).
 o Init()
This is the initialization function for the ICE-Java - Interface (Ice_Init()).
 o JavaMajorRelease()
Give the ICE/Java-Interface-Major-Release number
 o JavaMinorRelease()
Give the ICE/Java-Interface-Minor-Release number
 o JavaPatchRelease()
Give the ICE/Java-Interface-Patch-Level number
 o JavaRelease()
Give the ICE/Java-Interface-Release-String
 o MajorRelease()
Give the ICE-Major-Release number from the ICE-Java-Server
 o MinorRelease()
Give the ICE-Minor-Release number from the ICE-Java-Server
 o PatchRelease()
Give the ICE-Patch-Level number from the ICE-Java-Server
 o Release()
Give the ICE-Release-String from the ICE-Java-server

Variables

 o NONE
 public static final int NONE
The nonexisting message tag (message tag)

 o ANY
 public static final int ANY
Give me any message tag (only for receive methods) (message tag)

 o NOTAG
 public static final int NOTAG
No tag (used for additional channels) (message tag)

 o CMPTAG
 public static final int CMPTAG
listen to any tag for a distinct component (message tag)

 o ANYCHAN
 public static final int ANYCHAN
Listen to any channel (channel flag)

 o BASE
 public static final int BASE
Base channel (channel flag)

 o NORMAL
 public static final int NORMAL
Normal channel (channel flag)

 o SYNCH
 public static final int SYNCH
Synchronized channel (channel flag)

 o RAW
 public static final int RAW
Fast channel (no XDR) (channel flag)

 o TOKEN
 public static final int TOKEN
Tokenized channel (channel flag)

 o BlockSend
 public static final int BlockSend
Block sending (configuration switch)

See Also:
Configure
 o NoBlockSend
 public static final int NoBlockSend
No Block sending (configuration switch)

See Also:
Configure
 o BlockDel
 public static final int BlockDel
Block deletion (configuration switch)

See Also:
Configure
 o NoBlockDel
 public static final int NoBlockDel
No Block deletion (configuration switch)

See Also:
Configure
 o ErrIgnore
 public static final int ErrIgnore
Ignore Errors (configuration switch)

See Also:
Configure
 o IlsGroup
 public static final int IlsGroup
Set ILS group (configuration switch; requires sVal)

See Also:
Configure
 o 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
 o 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

Methods

 o Release
 public static final String Release()
Give the ICE-Release-String from the ICE-Java-server

Returns:
ICE-Release-String
 o MajorRelease
 public static final int MajorRelease()
Give the ICE-Major-Release number from the ICE-Java-Server

Returns:
ICE-Major-Release number
 o MinorRelease
 public static final int MinorRelease()
Give the ICE-Minor-Release number from the ICE-Java-Server

Returns:
ICE-Minor-Release number
 o PatchRelease
 public static final int PatchRelease()
Give the ICE-Patch-Level number from the ICE-Java-Server

Returns:
ICE-Patch-Level number
 o JavaRelease
 public static final String JavaRelease()
Give the ICE/Java-Interface-Release-String

Returns:
ICE/Java-Interface-Release-String
 o JavaMajorRelease
 public static final int JavaMajorRelease()
Give the ICE/Java-Interface-Major-Release number

Returns:
ICE/Java-Interface-Major-Release number
 o JavaMinorRelease
 public static final int JavaMinorRelease()
Give the ICE/Java-Interface-Minor-Release number

Returns:
ICE/Java-Interface-Minor-Release number
 o JavaPatchRelease
 public static final int JavaPatchRelease()
Give the ICE/Java-Interface-Patch-Level number

Returns:
ICE/Java-Interface-Patch-Level number
 o 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
 o 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