C# Class Opc.Ua.BindingFactory

A class that manages a mapping between a URL scheme and a binding.
Afficher le fichier Open project: OPCFoundation/Misc-Tools Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string uriScheme, Type bindingType ) : void

Adds a binding type to the factory.

BindingFactory ( BindingFactory factory ) : System

Copys an existing factory.

BindingFactory ( Opc.Ua.NamespaceTable namespaceUris, EncodeableFactory factory ) : System

Creates an empty factory.

BindingFactory ( ServiceMessageContext messageContext ) : System

Creates an empty factory.

Contains ( string uriScheme ) : bool

Returns true if a binding exists for the specified schema.

Create ( string uriScheme, EndpointConfiguration configuration ) : System.ServiceModel.Channels.Binding

Creates a discovery binding for the specified URI scheme.

Create ( string uriScheme, EndpointDescription description, EndpointConfiguration configuration ) : System.ServiceModel.Channels.Binding

Creates a session binding for the specified URI scheme.

Create ( string uriScheme, List descriptions, EndpointConfiguration configuration ) : System.ServiceModel.Channels.Binding

Creates a session binding for the specified URI scheme.

Create ( ApplicationConfiguration configuration, ServiceMessageContext context ) : BindingFactory

Creates a binding table from the bindings specified in the application configuration.

Remove ( string uriScheme ) : void

Removes a binding type from the factory.

Private Methods

Méthode Description
AddDefaultBindings ( Type>.Dictionary table ) : void
BindingFactory ( ) : System

Creates an empty factory.

Create ( ApplicationConfiguration configuration ) : BindingFactory

Method Details

Add() public méthode

Adds a binding type to the factory.
public Add ( string uriScheme, Type bindingType ) : void
uriScheme string The URI scheme.
bindingType System.Type Type of the binding.
Résultat void

BindingFactory() public méthode

Copys an existing factory.
public BindingFactory ( BindingFactory factory ) : System
factory BindingFactory The factory.
Résultat System

BindingFactory() public méthode

Creates an empty factory.
public BindingFactory ( Opc.Ua.NamespaceTable namespaceUris, EncodeableFactory factory ) : System
namespaceUris Opc.Ua.NamespaceTable The namespace uris.
factory EncodeableFactory The factory.
Résultat System

BindingFactory() public méthode

Creates an empty factory.
public BindingFactory ( ServiceMessageContext messageContext ) : System
messageContext ServiceMessageContext The message context.
Résultat System

Contains() public méthode

Returns true if a binding exists for the specified schema.
public Contains ( string uriScheme ) : bool
uriScheme string The URI scheme.
Résultat bool

Create() public méthode

Creates a discovery binding for the specified URI scheme.
public Create ( string uriScheme, EndpointConfiguration configuration ) : System.ServiceModel.Channels.Binding
uriScheme string The URI scheme.
configuration EndpointConfiguration The configuration.
Résultat System.ServiceModel.Channels.Binding

Create() public méthode

Creates a session binding for the specified URI scheme.
public Create ( string uriScheme, EndpointDescription description, EndpointConfiguration configuration ) : System.ServiceModel.Channels.Binding
uriScheme string The URI scheme.
description EndpointDescription The description.
configuration EndpointConfiguration The configuration.
Résultat System.ServiceModel.Channels.Binding

Create() public méthode

Creates a session binding for the specified URI scheme.
public Create ( string uriScheme, List descriptions, EndpointConfiguration configuration ) : System.ServiceModel.Channels.Binding
uriScheme string The URI scheme.
descriptions List The descriptions.
configuration EndpointConfiguration The configuration.
Résultat System.ServiceModel.Channels.Binding

Create() public static méthode

Creates a binding table from the bindings specified in the application configuration.
public static Create ( ApplicationConfiguration configuration, ServiceMessageContext context ) : BindingFactory
configuration ApplicationConfiguration
context ServiceMessageContext
Résultat BindingFactory

Remove() public méthode

Removes a binding type from the factory.
public Remove ( string uriScheme ) : void
uriScheme string The URI scheme.
Résultat void