company logo

ObjectSpace :: connected - Is object space connected to server?

In some cases, client object space handle might be opened, but disconnected from the server. In contrast to isValid(), which indicated, whether an object space has been opened successfully, this property informs about the current connection state to an object server.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool ObjectSpace  :: connected (  )

The function returns true, when the object space is connected to server and false otherwise. The function throws an exception, when the object space handle is not valid.