C# 클래스 Opc.Ua.BindingFactory

A class that manages a mapping between a URL scheme and a binding.
파일 보기 프로젝트 열기: OPCFoundation/Misc-Tools 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
AddDefaultBindings ( Type>.Dictionary table ) : void
BindingFactory ( ) : System

Creates an empty factory.

Create ( ApplicationConfiguration configuration ) : BindingFactory

메소드 상세

Add() 공개 메소드

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.
리턴 void

BindingFactory() 공개 메소드

Copys an existing factory.
public BindingFactory ( BindingFactory factory ) : System
factory BindingFactory The factory.
리턴 System

BindingFactory() 공개 메소드

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

BindingFactory() 공개 메소드

Creates an empty factory.
public BindingFactory ( ServiceMessageContext messageContext ) : System
messageContext ServiceMessageContext The message context.
리턴 System

Contains() 공개 메소드

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

Create() 공개 메소드

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.
리턴 System.ServiceModel.Channels.Binding

Create() 공개 메소드

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.
리턴 System.ServiceModel.Channels.Binding

Create() 공개 메소드

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.
리턴 System.ServiceModel.Channels.Binding

Create() 공개 정적인 메소드

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

Remove() 공개 메소드

Removes a binding type from the factory.
public Remove ( string uriScheme ) : void
uriScheme string The URI scheme.
리턴 void