C# Class Org.Mentalis.Security.Ssl.Shared.SocketController

Inheritance: IDisposable
ファイルを表示 Open project: ElanHasson/SSIS-Extensions Class Usage Examples

Public Methods

Method Description
BeginReceive ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : AsyncResult
BeginSend ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : AsyncResult
BeginShutdown ( AsyncCallback callback, object state ) : AsyncResult
Dispose ( ) : void
EndReceive ( IAsyncResult ar ) : Org.Mentalis.Security.Ssl.Shared.TransferItem
EndSend ( IAsyncResult ar ) : Org.Mentalis.Security.Ssl.Shared.TransferItem
EndShutdown ( IAsyncResult ar ) : AsyncResult
QueueRenegotiate ( ) : void
SocketController ( SecureSocket parent, Socket socket, SecurityOptions options ) : System

Protected Methods

Method Description
AppendBytes ( byte buffer1, int offset1, int size1, byte buffer2, int offset2, int size2 ) : byte[]
BeginSend ( byte buffer, int offset, int size, AsyncResult asyncResult, DataType type ) : AsyncResult
CloseConnection ( Exception e ) : void
FindIndex ( IAsyncResult ar, ArrayList list ) : int
OnReceive ( IAsyncResult ar ) : void
OnSent ( IAsyncResult ar ) : void
ProcessDecryptedBytes ( byte buffer ) : void
ResumeSending ( ) : void
SplitBytes ( byte &buffer, int maxReturnLength ) : byte[]

Private Methods

Method Description
OnShutdownSent ( IAsyncResult ar ) : void

Method Details

AppendBytes() protected method

protected AppendBytes ( byte buffer1, int offset1, int size1, byte buffer2, int offset2, int size2 ) : byte[]
buffer1 byte
offset1 int
size1 int
buffer2 byte
offset2 int
size2 int
return byte[]

BeginReceive() public method

public BeginReceive ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : AsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
return AsyncResult

BeginSend() public method

public BeginSend ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : AsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
return AsyncResult

BeginSend() protected method

protected BeginSend ( byte buffer, int offset, int size, AsyncResult asyncResult, DataType type ) : AsyncResult
buffer byte
offset int
size int
asyncResult AsyncResult
type DataType
return AsyncResult

BeginShutdown() public method

public BeginShutdown ( AsyncCallback callback, object state ) : AsyncResult
callback AsyncCallback
state object
return AsyncResult

CloseConnection() protected method

protected CloseConnection ( Exception e ) : void
e System.Exception
return void

Dispose() public method

public Dispose ( ) : void
return void

EndReceive() public method

public EndReceive ( IAsyncResult ar ) : Org.Mentalis.Security.Ssl.Shared.TransferItem
ar IAsyncResult
return Org.Mentalis.Security.Ssl.Shared.TransferItem

EndSend() public method

public EndSend ( IAsyncResult ar ) : Org.Mentalis.Security.Ssl.Shared.TransferItem
ar IAsyncResult
return Org.Mentalis.Security.Ssl.Shared.TransferItem

EndShutdown() public method

public EndShutdown ( IAsyncResult ar ) : AsyncResult
ar IAsyncResult
return AsyncResult

FindIndex() protected method

protected FindIndex ( IAsyncResult ar, ArrayList list ) : int
ar IAsyncResult
list System.Collections.ArrayList
return int

OnReceive() protected method

protected OnReceive ( IAsyncResult ar ) : void
ar IAsyncResult
return void

OnSent() protected method

protected OnSent ( IAsyncResult ar ) : void
ar IAsyncResult
return void

ProcessDecryptedBytes() protected method

protected ProcessDecryptedBytes ( byte buffer ) : void
buffer byte
return void

QueueRenegotiate() public method

public QueueRenegotiate ( ) : void
return void

ResumeSending() protected method

protected ResumeSending ( ) : void
return void

SocketController() public method

public SocketController ( SecureSocket parent, Socket socket, SecurityOptions options ) : System
parent SecureSocket
socket System.Net.Sockets.Socket
options SecurityOptions
return System

SplitBytes() protected method

protected SplitBytes ( byte &buffer, int maxReturnLength ) : byte[]
buffer byte
maxReturnLength int
return byte[]