C# Class CSharpRTMP.Core.NetIO.IOHandlerManager

Show file Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
ActiveIoHandler IOHandler>.Dictionary
DeadIoHandler ConcurrentBag
Stopwatch Stopwatch
TimersManager CSharpRTMP.Common.TimersManager

Public Methods

Method Description
CreateOrGetSocketAsyncEventArgs ( this ioHandler ) : SocketAsyncEventArgs
DeleteDeadHandlers ( ) : int
DisableTimer ( this ioHandler ) : bool
EnableTimer ( this ioHandler, uint seconds ) : bool
EnqueueForDelete ( IOHandler ioHandler ) : void
Initialize ( ) : void
ProcessTimer ( TimerEvent timerEvent ) : void
Pulse ( ) : bool
RegisterIOHandler ( this pIoHandler ) : void
Shutdown ( ) : void
ShutdownIOHandlers ( ) : void
SignalShutdown ( ) : void
Start ( ) : void
UnRegisterIOHandler ( this pIoHandler ) : void

Private Methods

Method Description
saeCompleted ( object sender, SocketAsyncEventArgs e ) : void

Method Details

CreateOrGetSocketAsyncEventArgs() public static method

public static CreateOrGetSocketAsyncEventArgs ( this ioHandler ) : SocketAsyncEventArgs
ioHandler this
return System.Net.Sockets.SocketAsyncEventArgs

DeleteDeadHandlers() public static method

public static DeleteDeadHandlers ( ) : int
return int

DisableTimer() public static method

public static DisableTimer ( this ioHandler ) : bool
ioHandler this
return bool

EnableTimer() public static method

public static EnableTimer ( this ioHandler, uint seconds ) : bool
ioHandler this
seconds uint
return bool

EnqueueForDelete() public static method

public static EnqueueForDelete ( IOHandler ioHandler ) : void
ioHandler IOHandler
return void

Initialize() public static method

public static Initialize ( ) : void
return void

ProcessTimer() public static method

public static ProcessTimer ( TimerEvent timerEvent ) : void
timerEvent CSharpRTMP.Common.TimerEvent
return void

Pulse() public static method

public static Pulse ( ) : bool
return bool

RegisterIOHandler() public static method

public static RegisterIOHandler ( this pIoHandler ) : void
pIoHandler this
return void

Shutdown() public static method

public static Shutdown ( ) : void
return void

ShutdownIOHandlers() public static method

public static ShutdownIOHandlers ( ) : void
return void

SignalShutdown() public static method

public static SignalShutdown ( ) : void
return void

Start() public static method

public static Start ( ) : void
return void

UnRegisterIOHandler() public static method

public static UnRegisterIOHandler ( this pIoHandler ) : void
pIoHandler this
return void

Property Details

ActiveIoHandler public static property

public static Dictionary ActiveIoHandler
return IOHandler>.Dictionary

DeadIoHandler public static property

public static ConcurrentBag DeadIoHandler
return ConcurrentBag

Stopwatch public static property

public static Stopwatch Stopwatch
return Stopwatch

TimersManager public static property

public static TimersManager,CSharpRTMP.Common TimersManager
return CSharpRTMP.Common.TimersManager