C# 클래스 LibUsbDotNet.Internal.TransferContextBase

상속: IDisposable
파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
mHasWaitBeenCalled bool
mOriginalCount int
mOriginalOffset int
mTimeout int
mTransferCancelEvent System.Threading.ManualResetEvent
mTransferCompleteEvent System.Threading.ManualResetEvent

공개 메소드들

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

보호된 메소드들

메소드 설명
IncFailRetries ( ) : void
TransferContextBase ( UsbEndpointBase endpointBase ) : System

비공개 메소드들

메소드 설명
SyncTransfer ( TransferContextBase transferContext, IntPtr buffer, int offset, int length, int timeout, int &transferLength ) : ErrorCode

메소드 상세

Cancel() 공개 메소드

public Cancel ( ) : ErrorCode
리턴 ErrorCode

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Fill() 공개 메소드

public Fill ( IntPtr buffer, int offset, int count, int timeout ) : void
buffer System.IntPtr
offset int
count int
timeout int
리턴 void

Fill() 공개 메소드

public Fill ( object buffer, int offset, int count, int timeout ) : void
buffer object
offset int
count int
timeout int
리턴 void

IncFailRetries() 보호된 메소드

protected IncFailRetries ( ) : void
리턴 void

IncrementTransfer() 공개 메소드

public IncrementTransfer ( int amount ) : bool
amount int
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Submit() 공개 추상적인 메소드

public abstract Submit ( ) : ErrorCode
리턴 ErrorCode

TransferContextBase() 보호된 메소드

protected TransferContextBase ( UsbEndpointBase endpointBase ) : System
endpointBase LibUsbDotNet.Main.UsbEndpointBase
리턴 System

Wait() 공개 추상적인 메소드

public abstract Wait ( int &transferredCount ) : ErrorCode
transferredCount int
리턴 ErrorCode

프로퍼티 상세

mHasWaitBeenCalled 보호되어 있는 프로퍼티

protected bool mHasWaitBeenCalled
리턴 bool

mOriginalCount 보호되어 있는 프로퍼티

protected int mOriginalCount
리턴 int

mOriginalOffset 보호되어 있는 프로퍼티

protected int mOriginalOffset
리턴 int

mTimeout 보호되어 있는 프로퍼티

protected int mTimeout
리턴 int

mTransferCancelEvent 보호되어 있는 프로퍼티

protected ManualResetEvent,System.Threading mTransferCancelEvent
리턴 System.Threading.ManualResetEvent

mTransferCompleteEvent 보호되어 있는 프로퍼티

protected ManualResetEvent,System.Threading mTransferCompleteEvent
리턴 System.Threading.ManualResetEvent