Infinity.LocalPublisher¶
- Implementations:
Methods¶
|
|
|
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Infinity.LocalPublisher¶
- Bases:
- Structure:
Infinity.LocalPublisher
is an opaque data type. You should only access it via the public API functions.- publish(type, name, port)¶
- Parameters:
- Returns:
A
Infinity.LocalPublisherItem
that can be used to unpublish the service again.- Return type:
Publishes a service through self so that it can be discovered with an appropriate
Infinity.Discovery
.
- unpublish(item)¶
- Parameters:
item (
Infinity.LocalPublisherItem
) – A published item obtained fromInfinity.LocalPublisher.publish
().
Unpublishes item so that it can no longer be found in the network.
- do_publish(type, name, port) virtual¶
- Parameters:
- Returns:
A
Infinity.LocalPublisherItem
that can be used to unpublish the service again.- Return type:
Publishes a service through publisher so that it can be discovered with an appropriate
Infinity.Discovery
.
- do_unpublish(item) virtual¶
- Parameters:
item (
Infinity.LocalPublisherItem
) – A published item obtained fromInfinity.LocalPublisher.publish
().
Unpublishes item so that it can no longer be found in the network.