Skip to main content
FRAMES NO FRAMES

Class IloCplex::RemoteInfoHandler

Definition file: ilcplex/ilocplexi.h
Map of IloCplex::RemoteInfoHandlerIloCplex::RemoteInfoHandlerIloCplex::RemoteInfoHandler

This class is the base class for handlers of messages from remote workers. You can derive from this class to implement a handler which processes info messages sent by a remote worker. Use the method setRemoteInfoHandler to install an instance of this class into an instance of IloCplex. Likewise, use the method removeRemoteInfoHandler to uninstall instances of this class from IloCplex.

See Also:

Method Summary
protected virtual voidmain(CPXINFOTYPE type, int tag, CPXLONG length, void const * data)
protected RemoteInfoHandler()
public ~RemoteInfoHandler()
Method Detail

RemoteInfoHandler

protected RemoteInfoHandler()
Constructor

~RemoteInfoHandler

public ~RemoteInfoHandler()
Destructor

main

protected virtual void main(CPXINFOTYPE type, int tag, CPXLONG length, void const * data)

This method processes an info message. The method is invoked whenever an info message arrives from a remote worker.

Parameters:

type

The type of data in data.

tag
The tag that the remote worker set for this message.
length

Number of elements in data.

data

The raw message data. This is an array of length elements of the type specified by type.