C# 클래스 System.ServiceModel.Http2Protocol.ProtocolSession

Speed+Mobility Session
상속: IDisposable, IStreamStore
파일 보기 프로젝트 열기: MSOpenTech/HTTP-SPEED-PLUS-MOBILITY 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MaxWindowBalance UInt32

Private Properties

프로퍼티 타입 설명
GenerateNewStreamId int
OnCloseStream void
OnProtocolClose void
OnProtocolError void
OnProtocolOpen void
OnProtocolPing void
OnSessionFrame void
OpenStream Http2Stream

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the instance.

End ( ) : void

Ends the session.

End ( StatusCode reason ) : void

Ends the sessions.

GetStreamById ( int streamId ) : Http2Stream

returns stream by id.

Open ( ) : void

Opens the sessions.

OpenStream ( ProtocolHeaders headers, bool isFinal ) : Http2Stream

Opens the stream in current session.

Ping ( int streamId ) : void

Sends ping.

ProtocolSession ( SecureSocket socket, ProtocolOptions options ) : System.Collections.Generic

Initializes a new instance of the ProtocolSession class.

ProtocolSession ( Uri uri ) : System.Collections.Generic

Initializes a new instance of the ProtocolSession class.

ProtocolSession ( Uri uri, bool isServer, ProtocolOptions options ) : System.Collections.Generic

Initializes a new instance of the ProtocolSession class.

비공개 메소드들

메소드 설명
GenerateNewStreamId ( ) : int

returns new stream id.

OnCloseStream ( object sender, System.ServiceModel.Http2Protocol.RSTEventArgs e ) : void

Event handler for close stream.

OnProtocolClose ( object sender, System.ServiceModel.Http2Protocol.CloseFrameEventArgs e ) : void

Event handler for close.

OnProtocolError ( object sender, System.ServiceModel.Http2Protocol.ProtocolErrorEventArgs e ) : void

Event handler for error.

OnProtocolOpen ( object sender, EventArgs e ) : void

Event handler for open.

OnProtocolPing ( object sender, EventArgs e ) : void

Event handler for Ping.

OnSessionFrame ( object sender, ControlFrameEventArgs e ) : void

Event handler for session frame.

OpenStream ( int id, ProtocolHeaders headers, bool isFinal ) : Http2Stream

Opens the stream in current session.

메소드 상세

Dispose() 공개 메소드

Disposes the instance.
public Dispose ( ) : void
리턴 void

End() 공개 메소드

Ends the session.
public End ( ) : void
리턴 void

End() 공개 메소드

Ends the sessions.
public End ( StatusCode reason ) : void
reason StatusCode The reason.
리턴 void

GetStreamById() 공개 메소드

returns stream by id.
public GetStreamById ( int streamId ) : Http2Stream
streamId int Stream Id.
리턴 Http2Stream

Open() 공개 메소드

Opens the sessions.
public Open ( ) : void
리턴 void

OpenStream() 공개 메소드

Opens the stream in current session.
public OpenStream ( ProtocolHeaders headers, bool isFinal ) : Http2Stream
headers ProtocolHeaders The S+M headers.
isFinal bool the final flag.
리턴 Http2Stream

Ping() 공개 메소드

Sends ping.
public Ping ( int streamId ) : void
streamId int
리턴 void

ProtocolSession() 공개 메소드

Initializes a new instance of the ProtocolSession class.
public ProtocolSession ( SecureSocket socket, ProtocolOptions options ) : System.Collections.Generic
socket Org.Mentalis.Security.Ssl.SecureSocket
options ProtocolOptions Session options.
리턴 System.Collections.Generic

ProtocolSession() 공개 메소드

Initializes a new instance of the ProtocolSession class.
public ProtocolSession ( Uri uri ) : System.Collections.Generic
uri Uri the URI.
리턴 System.Collections.Generic

ProtocolSession() 공개 메소드

Initializes a new instance of the ProtocolSession class.
public ProtocolSession ( Uri uri, bool isServer, ProtocolOptions options ) : System.Collections.Generic
uri Uri the URI.
isServer bool the Server flag.
options ProtocolOptions Session options.
리턴 System.Collections.Generic

프로퍼티 상세

MaxWindowBalance 공개적으로 프로퍼티

Is a special value that designates "infinite".
public UInt32 MaxWindowBalance
리턴 UInt32