Infinity.LocalPublisher¶
| Implementations: | |
|---|---|
| Infinity.DiscoveryAvahi | |
Virtual Methods¶
| do_publish(type, name, port) | |
| do_unpublish(item) | 
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- 
class Infinity.LocalPublisher¶
- Bases: - GObject.GInterface- Structure: - Infinity.LocalPublisherInterface- Infinity.LocalPublisheris an opaque data type. You should only access it via the public API functions.- 
publish(type, name, port)¶
- Parameters: - Returns: - A - Infinity.LocalPublisherItemthat 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 from- Infinity.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.LocalPublisherItemthat 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 from- Infinity.LocalPublisher.publish().- Unpublishes item so that it can no longer be found in the network. 
 
-