C# 클래스 Granados.IO.SynchronizedPacketReceiver

상속: Granados.IO.SynchronizedDataHandler
파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 메소드들

메소드 설명
OnClosed ( ) : void

Implements IDataHandler

OnData ( Granados.IO.DataFragment data ) : void

Implements IDataHandler

OnError ( Exception error ) : void

Implements IDataHandler

SendAndWaitResponse ( Granados.IO.DataFragment data ) : Granados.IO.DataFragment

Send a packet then receive a response.

SynchronizedPacketReceiver ( IGranadosSocket socket ) : System

Constructor

WaitResponse ( ) : Granados.IO.DataFragment

Wait until the next response has been received.

비공개 메소드들

메소드 설명
ClearQueue ( ) : void

Clear queue

EnqueueDataFragment ( Granados.IO.DataFragment data ) : void

Enqueue a copy of the specified DataFragment

EnqueueError ( Exception error ) : void

Enqueue the specified Exception

메소드 상세

OnClosed() 공개 메소드

Implements IDataHandler
public OnClosed ( ) : void
리턴 void

OnData() 공개 메소드

Implements IDataHandler
public OnData ( Granados.IO.DataFragment data ) : void
data Granados.IO.DataFragment
리턴 void

OnError() 공개 메소드

Implements IDataHandler
public OnError ( Exception error ) : void
error System.Exception
리턴 void

SendAndWaitResponse() 공개 메소드

Send a packet then receive a response.
unprocessed incoming packet exists
public SendAndWaitResponse ( Granados.IO.DataFragment data ) : Granados.IO.DataFragment
data Granados.IO.DataFragment a packet to be sent
리턴 Granados.IO.DataFragment

SynchronizedPacketReceiver() 공개 메소드

Constructor
public SynchronizedPacketReceiver ( IGranadosSocket socket ) : System
socket IGranadosSocket socket for sending SSH packet
리턴 System

WaitResponse() 공개 메소드

Wait until the next response has been received.
public WaitResponse ( ) : Granados.IO.DataFragment
리턴 Granados.IO.DataFragment