프로퍼티 | 타입 | 설명 | |
---|---|---|---|
SyncRoot | object |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AddStateFlag | void | ||
CheckState | bool | ||
FireCloseEvent | void | ||
GetCloseReasonFromState | CloseReason | ||
GetCloseReasonValue | int | ||
ISocketSession | bool | ||
InternalClose | void | ||
OnSendEnd | void | ||
OnSendEnd | void | ||
ProcessReceivedData | System.ProcessResult | ||
RemoveStateFlag | void | ||
Send | void | ||
StartSend | void | ||
TryAddStateFlag | bool | ||
ValidateClosed | void | ||
ValidateNotInSendingReceiving | bool |
메소드 | 설명 | |
---|---|---|
ApplySecureProtocol ( ) : void | ||
Close ( CloseReason reason ) : void | ||
GetUnderlyStream ( ) : Stream | ||
Initialize ( IAppSession appSession ) : void | ||
SocketSession ( Socket client ) : System | ||
SocketSession ( string sessionID ) : System | ||
Start ( ) : void |
Starts this session.
|
|
TrySend ( ArraySegment |
Tries to send array segment.
|
|
TrySend ( IList |
Tries to send array segment.
|
메소드 | 설명 | |
---|---|---|
IsIgnorableException ( |
||
IsIgnorableSocketError ( int socketErrorCode ) : bool | ||
OnClosed ( CloseReason reason ) : void |
Called when [close].
|
|
OnReceiveEnded ( ) : void | ||
OnReceiveError ( CloseReason closeReason ) : void | ||
OnReceiveStarted ( ) : void | ||
OnSendError ( SendingQueue queue, CloseReason closeReason ) : void | ||
OnSendingCompleted ( SendingQueue queue ) : void | ||
SendAsync ( SendingQueue queue ) : void |
Sends in async mode.
|
|
SendSync ( SendingQueue queue ) : void |
Sends in sync mode.
|
|
StartSession ( ) : void |
Says the welcome information when a client connectted.
|
|
TryValidateClosedBySocket ( Socket &socket ) : bool |
메소드 | 설명 | |
---|---|---|
AddStateFlag ( int stateValue ) : void | ||
CheckState ( int stateValue ) : bool | ||
FireCloseEvent ( ) : void | ||
GetCloseReasonFromState ( ) : CloseReason | ||
GetCloseReasonValue ( CloseReason reason ) : int | ||
ISocketSession ( ) : bool | ||
InternalClose ( Socket client, CloseReason reason, bool setCloseReason ) : void | ||
OnSendEnd ( ) : void | ||
OnSendEnd ( bool isInClosingOrClosed ) : void | ||
ProcessReceivedData ( ArraySegment |
||
RemoveStateFlag ( int stateValue ) : void | ||
Send ( SendingQueue queue ) : void | ||
StartSend ( SendingQueue queue, int sendingTrackID, bool initial ) : void | ||
TryAddStateFlag ( int stateValue ) : bool | ||
ValidateClosed ( CloseReason closeReason ) : void | ||
ValidateNotInSendingReceiving ( ) : bool |
Validates the socket is not in the sending or receiving operation.
|
public Initialize ( IAppSession appSession ) : void | ||
appSession | IAppSession | |
리턴 | void |
protected IsIgnorableException ( |
||
e | ||
socketErrorCode | int | |
리턴 | bool |
protected IsIgnorableSocketError ( int socketErrorCode ) : bool | ||
socketErrorCode | int | |
리턴 | bool |
protected OnReceiveError ( CloseReason closeReason ) : void | ||
closeReason | CloseReason | |
리턴 | void |
protected OnSendError ( SendingQueue queue, CloseReason closeReason ) : void | ||
queue | SendingQueue | |
closeReason | CloseReason | |
리턴 | void |
protected OnSendingCompleted ( SendingQueue queue ) : void | ||
queue | SendingQueue | |
리턴 | void |
protected abstract SendAsync ( SendingQueue queue ) : void | ||
queue | SendingQueue | The queue. |
리턴 | void |
protected abstract SendSync ( SendingQueue queue ) : void | ||
queue | SendingQueue | The queue. |
리턴 | void |
public SocketSession ( string sessionID ) : System | ||
sessionID | string | |
리턴 | System |
public TrySend ( ArraySegment |
||
segment | ArraySegment |
The segment. |
리턴 | bool |
protected TryValidateClosedBySocket ( Socket &socket ) : bool | ||
socket | Socket | |
리턴 | bool |