NaviNIBS.util.ZMQConnector module

Bases: Exception

Bases: object

Parameters:
  • _obj

  • _reqRepPort

  • _pubSubPort

  • _bindAddr

  • _ctx

  • _onOtherRequestReceived

Bases: Exception

Bases: object

Parameters:
  • _reqRepPort

  • _pubSubPort

  • _connAddr

  • _ctx

  • _actx

  • onMessagePublished (Optional[Callable[[List[bytes]], None]])

  • _allowAsyncCalls

  • _allowSyncCalls

Return type:

List[bytes]

Return type:

List[bytes]

Return type:

Any

Return type:

Any

Asynchronously on the client, make a synchronous call on the server

” Asynchronously on the client, make an asynchronous call on the server

Synchronously on the client, make an asynchronous call on the server

Parameters:
  • timeout – time in ms

  • numTries

Returns:

None

Raises TimeoutError if ping fails

Return type:

bool

Return type:

int

Bases: TestCase

Bases: object