LockableOffsetBufferProviderT Class |
Namespace: StreamCoders
public class LockableOffsetBufferProvider<T> : LockableOperationProvider, ILockableBufferProvider<T>, ILockableOperationProvider where T : class, new(), ILockableOperationClient, IOffsetBuffer
The LockableOffsetBufferProviderT type exposes the following members.
Name | Description | |
---|---|---|
LockableOffsetBufferProviderT | Initializes a new instance of the LockableOffsetBufferProviderT class |
Name | Description | |
---|---|---|
LockedClientCount |
Gets the amount of locked clients.
(Inherited from LockableOperationProvider.) | |
UnlockedClientCount |
Gets the number of unlocked clients.
(Inherited from LockableOperationProvider.) |
Name | Description | |
---|---|---|
AcquireBuffer |
Finds or creates a new MediaBuffer object based on the bufferSize criteria. AllowGrow
must be set in order to create new MediaBuffer objects.
| |
ClearAllClients |
Unlocks all locked clients and then removes all unlocked clients.
(Inherited from LockableOperationProvider.) | |
ClearAllUnlockedClients |
Removes all unlocked clients.
(Inherited from LockableOperationProvider.) | |
IsLocked |
Checks whether a particular ILockableOperationClient instance is locked.
(Inherited from LockableOperationProvider.) | |
LockClient | (Inherited from LockableOperationProvider.) | |
TryUnlockClient |
Attempts to unlock a client.
(Inherited from LockableOperationProvider.) | |
UnlockAllClients |
Unlocks all locked clients.
(Inherited from LockableOperationProvider.) | |
UnlockClient |
Unlocks a client lock. If the operation fails an exception is thrown.
(Inherited from LockableOperationProvider.) |
Name | Description | |
---|---|---|
Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |