프로퍼티 | 타입 | 설명 | |
---|---|---|---|
PType |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_buffer | byte[] | ||
_buffer_sync | object | ||
_client | bool | ||
_fe | FuzzyEvent | ||
_fe_lock | int | ||
_ip | |||
_read | |||
_ssl | Ssl | ||
_write |
메소드 | 설명 | |
---|---|---|
DtlsAssociation ( ISender sender, |
Create a DtlsFilter.
|
|
Handshake ( ) : void |
Start the session earlier than waiting for a packet to be sent. Not doing this may increase the amount of lost packets.
|
|
Renegotiate ( ) : void |
The session has gone on long enough that it is time for the peers to start using a new set of symmetric keys.
|
|
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
HandleIncoming ( |
||
HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
HandleWouldBlock ( ) : void |
Blocking may occur for two reasons, no data available or the handshake isn't complete. If the handshake isn't complete, the timer will be set to >= 0, at 0, we need to call handshake to continue, if it is greater than 0, we need to schedule a timer to call handshake later.
|
|
RemoteCertificateValidation ( object sender, Mono.Security.X509.X509Certificate cert, Mono.Security.X509.X509Chain chain, int depth, VerifyResult result ) : bool |
Override to review certificate validation decisions.
|
메소드 | 설명 | |
---|---|---|
HandleWouldBlock ( System.DateTime now ) : void |
Timercall back for internal ssl timeout.
|
public DtlsAssociation ( ISender sender, |
||
sender | ISender | |
ch | ||
ptype | ||
ssl | Ssl | |
client | bool | Use client initialization parameters. |
리턴 | Brunet.Messaging |
protected HandleIncoming ( |
||
data | ||
app_data | ||
리턴 | bool |
protected HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
app_data | ICopyable | |
data | ICopyable | |
리턴 | bool |
protected RemoteCertificateValidation ( object sender, Mono.Security.X509.X509Certificate cert, Mono.Security.X509.X509Chain chain, int depth, VerifyResult result ) : bool | ||
sender | object | |
cert | Mono.Security.X509.X509Certificate | |
chain | Mono.Security.X509.X509Chain | |
depth | int | |
result | VerifyResult | |
리턴 | bool |