DpwsClient Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Base class used by a Devices Profile for Web Services (DPWS) client application or control developer to implement a DPWS device client. DPWS client implementations must derive from this class.

Inheritance Hierarchy

System. . :: . .Object
  Dpws.Client..::..DpwsClient

Namespace:  Dpws.Client
Assembly:  MFDpwsClient (in MFDpwsClient.dll)

Syntax

'Declaration
Public Class DpwsClient _
    Implements IWsServiceEndpoint, IDisposable
public class DpwsClient : IWsServiceEndpoint, IDisposable
public ref class DpwsClient : IWsServiceEndpoint, 
    IDisposable
type DpwsClient =  
    class
        interface IWsServiceEndpoint
        interface IDisposable
    end
public class DpwsClient implements IWsServiceEndpoint, IDisposable

The DpwsClient type exposes the following members.

Constructors

  Name Description
Public method DpwsClient Initializes a new instance of the DpwsClient class with a specified transport binding and protocol version.

Top

Properties

  Name Description
Public property DiscoveryClient Contains an instance of a DPWS Discovery client.
Public property EndpointAddress A URN:UUID used by the transport services to locate this client. This property represents the endpoint reference address of a client. This stack supports URN:UUID endpoint addresses only.
Public property EventingClient Retrieves an instance of a DPWS EventingClient.
Public property IgnoreRequestFromThisIP Enables or disables receiving discovery requests from this IP address.
Protected property IPV4Address Gets or sets the local IPV4 address.
Public property MexClient Contains an instance of a DPWS Metadata client.
Public property ServiceOperations Contains a collection of event sink callback methods.
Public property TransportAddress Gets or sets a DPWS-compliant transport address.

Top

Methods

  Name Description
Public method Dispose Releases all resources used by the DpwsClients object and removes this instance from the list of stack service processes.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Performs clean-up operations. (Overrides Object. . :: . .Finalize() () () ().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method StartEventListeners Starts the service host.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event ByeEvent Event property used to create an event handler for DPWS End messages.
Public event HelloEvent Event property used to create and event handler for DPWS Hello messages.
Public event SubscriptionEndEvent Event property used to create an event handler for Ws-Eventing, SubscriptionEnd messages.

Top

Fields

  Name Description
Protected field m_localBinding Specifies the local transport binding.
Protected field m_version Specifies the SOAP messaging protocol version.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IWsServiceEndpoint. . :: . .BlockingCall Determines whether a ProcessRequest call blocks.
Explicit interface implemetationPrivate method IWsServiceEndpoint. . :: . .ProcessRequest Implements the ProcessRequest interface used to control the blocking of a request.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Dpws.Client Namespace