C# Class LibUsbDotNet.Internal.TransferContextBase

Inheritance: IDisposable
Afficher le fichier Open project: arvydas/BlinkStickDotNet Class Usage Examples

Protected Properties

Свойство Type Description
mHasWaitBeenCalled bool
mOriginalCount int
mOriginalOffset int
mTimeout int
mTransferCancelEvent System.Threading.ManualResetEvent
mTransferCompleteEvent System.Threading.ManualResetEvent

Méthodes publiques

Méthode Description
Cancel ( ) : ErrorCode
Dispose ( ) : void
Fill ( IntPtr buffer, int offset, int count, int timeout ) : void
Fill ( object buffer, int offset, int count, int timeout ) : void
IncrementTransfer ( int amount ) : bool
Reset ( ) : void
Submit ( ) : ErrorCode
Wait ( int &transferredCount ) : ErrorCode

Méthodes protégées

Méthode Description
IncFailRetries ( ) : void
TransferContextBase ( UsbEndpointBase endpointBase ) : System

Private Methods

Méthode Description
SyncTransfer ( TransferContextBase transferContext, IntPtr buffer, int offset, int length, int timeout, int &transferLength ) : ErrorCode

Method Details

Cancel() public méthode

public Cancel ( ) : ErrorCode
Résultat ErrorCode

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Fill() public méthode

public Fill ( IntPtr buffer, int offset, int count, int timeout ) : void
buffer System.IntPtr
offset int
count int
timeout int
Résultat void

Fill() public méthode

public Fill ( object buffer, int offset, int count, int timeout ) : void
buffer object
offset int
count int
timeout int
Résultat void

IncFailRetries() protected méthode

protected IncFailRetries ( ) : void
Résultat void

IncrementTransfer() public méthode

public IncrementTransfer ( int amount ) : bool
amount int
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Submit() public abstract méthode

public abstract Submit ( ) : ErrorCode
Résultat ErrorCode

TransferContextBase() protected méthode

protected TransferContextBase ( UsbEndpointBase endpointBase ) : System
endpointBase LibUsbDotNet.Main.UsbEndpointBase
Résultat System

Wait() public abstract méthode

public abstract Wait ( int &transferredCount ) : ErrorCode
transferredCount int
Résultat ErrorCode

Property Details

mHasWaitBeenCalled protected_oe property

protected bool mHasWaitBeenCalled
Résultat bool

mOriginalCount protected_oe property

protected int mOriginalCount
Résultat int

mOriginalOffset protected_oe property

protected int mOriginalOffset
Résultat int

mTimeout protected_oe property

protected int mTimeout
Résultat int

mTransferCancelEvent protected_oe property

protected ManualResetEvent,System.Threading mTransferCancelEvent
Résultat System.Threading.ManualResetEvent

mTransferCompleteEvent protected_oe property

protected ManualResetEvent,System.Threading mTransferCompleteEvent
Résultat System.Threading.ManualResetEvent