*/
struct name: tipc_name
{
+
/**
* Constructor.
*
* @param instance Instance of the named port.
*/
name(__u32 type, __u32 instance) throw ();
+
};
/**
*/
struct nameseq: tipc_name_seq
{
+
/**
* Constructor.
*
* @param lower Lower bound.
* @param upper Upper bound.
*/
+
nameseq(__u32 type, __u32 lower, __u32 upper) throw ();
/**
* Constructor.
*/
enum subscr_t
{
+
/**
* Causes the topology service to generate a PUBLISHED event
* for each port name or port name sequence it finds that overlaps
* are @b any ports of interest.
*/
SUB_PORTS = TIPC_SUB_PORTS,
+
/**
* Causes the topology service to generate a single publish event for
* the first port it finds with an overlapping name and a single
* @b all ports of interest.
*/
SUB_SERVICE = TIPC_SUB_SERVICE
+
};
/**
*/
struct subscr: tipc_subscr
{
+
/**
* Constructor.
*
*/
subscr(nameseq seq, __u32 timeout, __u32 filter,
const char* usr_handle = "") throw ();
+
};
/// Type of events.
enum event_t
{
+
/// The port has been published.
PUBLISHED = TIPC_PUBLISHED,
+
/// The port has been withdrawn.
WITHDRAWN = TIPC_WITHDRAWN,
+
/// The event has timed out.
TIMEOUT = TIPC_SUBSCR_TIMEOUT
+
};
/**