C# Class QuickFix.ThreadedSocketAcceptor

Acceptor implementation - with threads Creates a ThreadedSocketReactor for every listening endpoint.
Inheritance: IAcceptor
显示文件 Open project: kennystone/quickfixn Class Usage Examples

Public Methods

Method Description
GetAcceptorAddresses ( ) : IPEndPoint>.Dictionary
GetSessionIDs ( ) : HashSet
GetSessions ( ) : HashSet
IsLoggedOn ( ) : bool
Start ( ) : void
Stop ( ) : void
Stop ( bool force ) : void
ThreadedSocketAcceptor ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System.Collections.Generic
ThreadedSocketAcceptor ( Application application, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System.Collections.Generic
ThreadedSocketAcceptor ( SessionFactory sessionFactory, SessionSettings settings ) : System.Collections.Generic

Private Methods

Method Description
CreateSessions ( SessionSettings settings ) : void
GetAcceptorSocketDescriptor ( SessionSettings settings, SessionID sessionID ) : AcceptorSocketDescriptor
LogoutAllSessions ( bool force ) : void
StartAcceptingConnections ( ) : void
StopAcceptingConnections ( ) : void
WaitForLogout ( ) : void

FIXME

Method Details

GetAcceptorAddresses() public method

public GetAcceptorAddresses ( ) : IPEndPoint>.Dictionary
return IPEndPoint>.Dictionary

GetSessionIDs() public method

public GetSessionIDs ( ) : HashSet
return HashSet

GetSessions() public method

public GetSessions ( ) : HashSet
return HashSet

IsLoggedOn() public method

public IsLoggedOn ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

public Stop ( bool force ) : void
force bool
return void

ThreadedSocketAcceptor() public method

public ThreadedSocketAcceptor ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System.Collections.Generic
application Application
storeFactory MessageStoreFactory
settings SessionSettings
return System.Collections.Generic

ThreadedSocketAcceptor() public method

public ThreadedSocketAcceptor ( Application application, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System.Collections.Generic
application Application
storeFactory MessageStoreFactory
settings SessionSettings
logFactory LogFactory
return System.Collections.Generic

ThreadedSocketAcceptor() public method

public ThreadedSocketAcceptor ( SessionFactory sessionFactory, SessionSettings settings ) : System.Collections.Generic
sessionFactory SessionFactory
settings SessionSettings
return System.Collections.Generic