This page shows the equivalent methods for the ICE-C and ICE-Java interface.
C-function |
Java-method |
Meaning |
Ice_Chan* <-- Ice_AddChan(name, basechan, flags)
|
Channel <-- <basechan>.AddChan(name, flags)
|
Establish an additional channel to an already known component |
Ice_Chan* <-- Ice_AddCompo(name)
|
Channel <-- <component>.AddCompo(name)
|
Declare a component to communicate with |
Ice_Activate(component)
|
<component>.Activate()
|
Activate a different component which has been attached previously |
Ice_Compo* <-- Ice_ActiveCompo()
|
boolean <-- <component>.Active()
|
Return the active component/check for active component |
Ice_Compo* <-- Ice_Attach(name)
|
Component <-- Component.Attach(name)
|
Attach and name component |
int <-- Ice_Broadcast(..., m_data)
|
boolean <-- <channel>.Broadcast((...,) m_data)
|
Send a message to all other components on the base channel |
Ice_Configure(what, iVal, sVal)
|
ICE.Configure(what, iVal, sVal)
|
Set various configuration options |
Ice_Detach(component)
|
<component>.Detach()
|
Remove connection to rest of ICE system |
char* <-- Ice_GetSentModuleId(component)
|
String <-- <component>.GetSendModuleId()
|
Retrieve the module id of the last message send |
Ice_Init()
|
ICE.Init()
|
Initialize basic ICE system |
char* <-- Ice_MajorRelease()
|
int <-- ICE.MajorRelease()
|
Return the major release number of ICE |
char* <-- Ice_MinorRelease()
|
int <-- ICE.MinorRelease()
|
Return the minor release number of ICE |
int <-- Ice_Probe(channel, msgtag)
|
boolean <-- <channel>.Probe(msgtag)
|
Check to see if a message is available |
int <-- Ice_Receive(channel/component, msgtag, &msg)
|
Msg <-- <channel>.Receive(msgtag)
or
Msg <-- <component>.Receive(msgtag)
|
Receive message on certain channel with certain tags |
char* <-- Ice_Release()
|
String <-- ICE.Release()
|
Return ICE Release string |
Ice_RemoveChan(channel)
|
<channel>.Remove()
|
Request to remove an additional channel |
Ice_RemoveCompo(channel)
|
<channel>.Remove()
|
Request to remove a base channel |
int <-- Ice_Send(channel, ..., m_data)
|
boolean <-- <channel>.Send((...,) m_data)
|
Send a message to a destination component on a channel |
Ice_SetMinTurnId(component, turn_Id)
|
<component>.SetMinTurnId(turn_Id)
|
Set the minimal turn id this component is interested in |
Ice_SetTurnId(component, turn_Id)
|
<component>.SetTurnId(turn_Id)
|
Set the actual turn id for the following messages of this component |
int <-- Ice_TReceive(channel/component, msgtag, &msg, timeout)
|
Msg <-- <channel>.Receive(msgtag, long)
or
Msg <-- <component>.Receive(msgtag, long)
|
Receive message on certain channel with certain tags (and timeout) |
Idl_Free(m_Type, m_data)
|
- (done automaticaly) |
Clean up memory used for data structures |
Idl_UserInit()
|
currently undefined |
Initialize functions for user-defined data types |