Show / Hide Table of Contents

Class CardChannelObservable

Allows an existing ICardChannel instance to be observed by using delegates and wrapping it.

Inheritance
System.Object
CardChannelObservable
CardChannelLayerObservable
CardChannelStackObservable
CardChannel
Implements
ICardChannelObservable
ICardChannel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WSCT.Core
Assembly: WSCT.dll
Syntax
public class CardChannelObservable : ICardChannelObservable, ICardChannel

Constructors

| Improve this Doc View Source

CardChannelObservable(ICardChannel)

Initializes a new instance.

Declaration
public CardChannelObservable(ICardChannel channel)
Parameters
Type Name Description
ICardChannel channel

ICardChannel instance to wrap.

Fields

| Improve this Doc View Source

channel

Wrapped ICardChannel instance.

Declaration
protected ICardChannel channel
Field Value
Type Description
ICardChannel

Properties

| Improve this Doc View Source

Protocol

Protocol T

Declaration
public Protocol Protocol { get; }
Property Value
Type Description
Protocol
| Improve this Doc View Source

ReaderName

Declaration
public string ReaderName { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Attach(ICardContext, String)

Declaration
public void Attach(ICardContext context, string readerName)
Parameters
Type Name Description
ICardContext context
System.String readerName
| Improve this Doc View Source

Connect(ShareMode, Protocol)

Declaration
public ErrorCode Connect(ShareMode shareMode, Protocol preferedProtocol)
Parameters
Type Name Description
ShareMode shareMode
Protocol preferedProtocol
Returns
Type Description
ErrorCode
| Improve this Doc View Source

Disconnect(Disposition)

Declaration
public ErrorCode Disconnect(Disposition disposition)
Parameters
Type Name Description
Disposition disposition
Returns
Type Description
ErrorCode
| Improve this Doc View Source

GetAttrib(Attrib, ref Byte[])

Declaration
public ErrorCode GetAttrib(Attrib attrib, ref byte[] buffer)
Parameters
Type Name Description
Attrib attrib
System.Byte[] buffer
Returns
Type Description
ErrorCode
| Improve this Doc View Source

GetStatus()

Declaration
public State GetStatus()
Returns
Type Description
State
| Improve this Doc View Source

Reconnect(ShareMode, Protocol, Disposition)

Declaration
public ErrorCode Reconnect(ShareMode shareMode, Protocol preferedProtocol, Disposition initialization)
Parameters
Type Name Description
ShareMode shareMode
Protocol preferedProtocol
Disposition initialization
Returns
Type Description
ErrorCode
| Improve this Doc View Source

Transmit(ICardCommand, ICardResponse)

Declaration
public ErrorCode Transmit(ICardCommand command, ICardResponse response)
Parameters
Type Name Description
ICardCommand command
ICardResponse response
Returns
Type Description
ErrorCode

Events

| Improve this Doc View Source

AfterConnectEvent

Declaration
public event EventHandler<AfterConnectEventArgs> AfterConnectEvent
Event Type
Type Description
System.EventHandler<AfterConnectEventArgs>
| Improve this Doc View Source

AfterDisconnectEvent

Declaration
public event EventHandler<AfterDisconnectEventArgs> AfterDisconnectEvent
Event Type
Type Description
System.EventHandler<AfterDisconnectEventArgs>
| Improve this Doc View Source

AfterGetAttribEvent

Declaration
public event EventHandler<AfterGetAttribEventArgs> AfterGetAttribEvent
Event Type
Type Description
System.EventHandler<AfterGetAttribEventArgs>
| Improve this Doc View Source

AfterGetStatusEvent

Declaration
public event EventHandler<AfterGetStatusEventArgs> AfterGetStatusEvent
Event Type
Type Description
System.EventHandler<AfterGetStatusEventArgs>
| Improve this Doc View Source

AfterReconnectEvent

Declaration
public event EventHandler<AfterReconnectEventArgs> AfterReconnectEvent
Event Type
Type Description
System.EventHandler<AfterReconnectEventArgs>
| Improve this Doc View Source

AfterTransmitEvent

Declaration
public event EventHandler<AfterTransmitEventArgs> AfterTransmitEvent
Event Type
Type Description
System.EventHandler<AfterTransmitEventArgs>
| Improve this Doc View Source

BeforeConnectEvent

Declaration
public event EventHandler<BeforeConnectEventArgs> BeforeConnectEvent
Event Type
Type Description
System.EventHandler<BeforeConnectEventArgs>
| Improve this Doc View Source

BeforeDisconnectEvent

Declaration
public event EventHandler<BeforeDisconnectEventArgs> BeforeDisconnectEvent
Event Type
Type Description
System.EventHandler<BeforeDisconnectEventArgs>
| Improve this Doc View Source

BeforeGetAttribEvent

Declaration
public event EventHandler<BeforeGetAttribEventArgs> BeforeGetAttribEvent
Event Type
Type Description
System.EventHandler<BeforeGetAttribEventArgs>
| Improve this Doc View Source

BeforeGetStatusEvent

Declaration
public event EventHandler<BeforeGetStatusEventArgs> BeforeGetStatusEvent
Event Type
Type Description
System.EventHandler<BeforeGetStatusEventArgs>
| Improve this Doc View Source

BeforeReconnectEvent

Declaration
public event EventHandler<BeforeReconnectEventArgs> BeforeReconnectEvent
Event Type
Type Description
System.EventHandler<BeforeReconnectEventArgs>
| Improve this Doc View Source

BeforeTransmitEvent

Declaration
public event EventHandler<BeforeTransmitEventArgs> BeforeTransmitEvent
Event Type
Type Description
System.EventHandler<BeforeTransmitEventArgs>

Implements

ICardChannelObservable
ICardChannel

Extension Methods

JsonHelpers.WriteToJsonFile(Object, String)
JsonHelpers.WriteToJsonFile(Object, String, Boolean)
JsonHelpers.WriteToJsonString(Object)
JsonHelpers.WriteToJsonString(Object, Boolean)
CardChannelExtension.ToObservable(ICardChannel)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX