Did you know ... | Search Documentation: |
Predicate tipc_subscribe/5 |
Timeout specifies the duration of the subscription in milliseconds. Specifying a Timeout of -1, provides for a subscription of infinite duration. Filter specifies the events of interest to the subscriber. It is an integer bit field where:
It is possible to have multiple subscriptions active on the same socket any one time, making periodic subscription renewal easy.
This predicate is valid only on connections to the topology
server: name(1,1,0)
.
Please note that this predicate should be considered private. It has been removed from the Prolog public API. Its use in user programs is strongly discouraged. See the "tipc_service" predicates for equivalent functionality.
@param SocketId the socket identifier that was provided by
tipc_socket/2, and is connected to the topology server,
name(1,1,0)
, via tipc_connect/2.
@param NameSeqAddress the name_seq/3 address of the service to be monitored.
@param PortId the port-id of the socket that is bound to the service
@param Timeout an integer that specifies the duration of the subscription in milliseconds. A duration of -1, specifies a subscription of infinite duration. @param Filter the event filter bit map.
@param UserHandle an eight-byte code that is passed transparently to the user with each event notification.