Foundation.NSNetService Members

The members of Foundation.NSNetService are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
AddressesNSData[]. An array of NSData objects, each of which contains a socket address for this service.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateINSNetServiceDelegate. An instance of the Foundation.NSNetServiceDelegate model class which acts as the class delegate.
[read-only]
Domainstring. The domain name of this service.
[read-only]
HostNamestring. The host name of the computer providing this service.
IncludesPeerToPeerbool. Documentation for this section has not yet been entered.
[read-only]
Namestring. The name of this service.
[read-only]
Portnint. The port of this service.
TxtRecordDataNSData. Documentation for this section has not yet been entered.
[read-only]
Typestring. Documentation for this section has not yet been entered.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

static
DataFromTxtRecord(NSDictionary) : NSData
The NSData represented by a TXT record formed by the specified dictionary. Raises an exception if dictionary cannot be converted.
static
DictionaryFromTxtRecord(NSData) : NSDictionary
An NSDictionary that specifies the provided data as a TXT record.
GetTxtRecordData() : NSData
The TXT record of this service.
Publish()
Attempts to advertise this service on the network.
Publish(NSNetServiceOptions)
Documentation for this section has not yet been entered.
Resolve()
Performs a resolve process on this service.
Resolve(double)
Performs a resolve process on this service, with a maximum allowed time.
Schedule(NSRunLoop, string)
Documentation for this section has not yet been entered.
SetTxtRecordData(NSData) : bool
Documentation for this section has not yet been entered.
StartMonitoring()
Documentation for this section has not yet been entered.
Stop()
Documentation for this section has not yet been entered.
StopMonitoring()
Documentation for this section has not yet been entered.
Unschedule(NSRunLoop, string)
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSNetService object.

Public Events

AddressResolvedEvent raised by the object.
DidAcceptConnectionEvent raised by the object.
PublishedEvent raised by the object.
PublishFailureEvent raised by the object.
ResolveFailureEvent raised by the object.
StoppedEvent raised by the object.
UpdatedTxtRecordDataEvent raised by the object.
WillPublishEvent raised by the object.
WillResolveEvent raised by the object.