cfxdb.realmstore._publication¶
Classes¶
Persisted publication database object. |
|
Persisted publications archive. |
|
Expand methods on the class code generated by flatc. |
Module Contents¶
- class Publication(from_fbs=None)[source]¶
Bases:
objectPersisted publication database object.
- __slots__ = ('_from_fbs', '_timestamp', '_publication', '_publisher', '_topic', '_args', '_kwargs',...[source]¶
- property acknowledge[source]¶
If
True, the broker was asked to acknowledge the publication with a success or error response.- Returns:
acknowledge flag
- Return type:
None or bool
- property args[source]¶
Positional values for application-defined event payload.
- Returns:
positional arguments (app payload) of the event (if any)
- Return type:
None or list
- property enc_algo[source]¶
When using payload transparency, the encoding algorithm that was used to encode the payload.
- Returns:
payload encryption algorithm
- Return type:
- property enc_key[source]¶
When using payload transparency with an encryption algorithm, the payload encryption key.
- Returns:
payload key
- Return type:
None or bytes
- property enc_serializer[source]¶
When using payload transparency, the payload object serializer that was used encoding the payload.
- Returns:
payload serializer
- Return type:
- property exclude_me[source]¶
If
True, the broker was asked to exclude the publisher from receiving the event.- Returns:
exclude_me flag
- Return type:
None or bool
- property kwargs[source]¶
Keyword values for application-defined event payload.
- Returns:
keyword arguments (app payload) of the event (if any)
- Return type:
None or dict
- property payload[source]¶
Alternative, transparent payload. If given,
argsandkwargsmust be left unset.- Returns:
Transparent binary payload (see
enc_algo) if applicable- Return type:
None or bytes
- property publication[source]¶
WAMP publication ID that was assigned by the broker.
- Returns:
publication ID
- Return type:
- property retain[source]¶
If
True, the broker was requested to retain this event.- Returns:
retain flag
- Return type:
None or bool
- class Publications(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
zlmdb.MapOidFlatBuffersPersisted publications archive.
Map
zlmdb.MapOidFlatBuffersfrompublicationtocfxdb.eventstore.Publication.
- class _Publication[source]¶
Bases:
cfxdb.gen.realmstore.Publication.PublicationExpand methods on the class code generated by flatc.
FIXME: comes up with a PR for flatc to generated this stuff automatically.