Invocation

class Invocation(request, partition_id=-1, address=None, connection=None, timeout=120)

Bases: object

sent_connection = None
timer = None
has_connection()
has_partition_id()
has_address()
set_response(response)
set_exception(exception, traceback=None)
on_timeout()
class ListenerInvocation(request, event_handler, response_decoder=None, **kwargs)

Bases: hazelcast.invocation.Invocation

registration_id = None
class ListenerService(client)

Bases: object

logger = <logging.Logger object>
start_listening(request, event_handler, decode_add_listener, key=None)
stop_listening(registration_id, encode_remove_listener)
re_register_listener(invocation)
class InvocationService(client)

Bases: object

logger = <logging.Logger object>
invoke_on_connection(message, connection, ignore_heartbeat=False)
invoke_on_partition(message, partition_id)
invoke_on_random_target(message)
invoke_on_target(message, address)
invoke_smart(invocation, ignore_heartbeat=False)
invoke_non_smart(invocation, ignore_heartbeat=False)
cleanup_connection(connection, cause)
on_connect(f, invocation, ignore_heartbeat)