Build 1.01.318.0

[This is preliminary documentation and is subject to change.]

The TcpServerChannel type exposes the following members.

Constructors

  NameDescription
Public methodTcpServerChannel
Attaches the object to an existing socket.

Methods

  NameDescription
Protected methodActivateToken
Activates a new token.
(Inherited from TcpChannel.)
Public methodAttach
Attaches the channel to an existing socket.
Protected methodBeginWriteMessage(ArraySegment<(Of <<'(Byte>)>>), Int32, Object)
Queues a write request.
(Inherited from TcpChannel.)
Protected methodBeginWriteMessage(BufferCollection, Int32, Object)
Queues a write request.
(Inherited from TcpChannel.)
Protected methodCalculateSymmetricKeySizes
Calculates the symmetric key sizes based on the current security policy.
(Inherited from TcpChannel.)
Protected methodChannelStateChanged
Reports that the channel state has changed (in another thread).
(Inherited from TcpChannel.)
Protected methodComputeKeys
Computes the keys for a token.
(Inherited from TcpChannel.)
Protected methodCreateNonce
Creates a new nonce.
(Inherited from TcpChannel.)
Protected methodCreateToken
Creates a new token.
(Inherited from TcpChannel.)
Protected methodDecrypt(ArraySegment<(Of <<'(Byte>)>>), ArraySegment<(Of <<'(Byte>)>>), X509Certificate2)
Decrypts the buffer using asymmetric encryption.
(Inherited from TcpChannel.)
Protected methodDecrypt(TcpChannelToken, ArraySegment<(Of <<'(Byte>)>>), Boolean)
Decrypts the data in a buffer using symmetric encryption.
(Inherited from TcpChannel.)
Protected methodDiscardTokens
Discards the tokens.
(Inherited from TcpChannel.)
Public methodDispose()()()()
Frees any unmanaged resources.
(Inherited from TcpChannel.)
Protected methodDispose(Boolean)
An overrideable version of the Dispose.
(Overrides TcpChannel..::..Dispose(Boolean).)
Protected methodEncrypt(ArraySegment<(Of <<'(Byte>)>>), ArraySegment<(Of <<'(Byte>)>>), X509Certificate2)
Encrypts the buffer using asymmetric encryption.
(Inherited from TcpChannel.)
Protected methodEncrypt(TcpChannelToken, ArraySegment<(Of <<'(Byte>)>>), Boolean)
Decrypts the data in a buffer using symmetric encryption.
(Inherited from TcpChannel.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
The finializer implementation.
(Inherited from TcpChannel.)
Protected methodForceChannelFault(ServiceResult)
Forces the channel into a faulted state as a result of a fatal error.
Protected methodForceChannelFault(UInt32, String, array<Object>[]()[][])
Forces the channel into a faulted state as a result of a fatal error.
Protected methodForceChannelFault(Exception, UInt32, String, array<Object>[]()[][])
Forces the channel into a faulted state as a result of a fatal error.
Protected methodGetAsymmetricHeaderSize
Calculates the size of the asymmetric security header.
(Inherited from TcpChannel.)
Protected methodGetAsymmetricSignatureSize
Calculates the size of the footer with an asymmetric signature.
(Inherited from TcpChannel.)
Protected methodGetCipherTextBlockSize
Returns the cipher text block size for key in the specified certificate.
(Inherited from TcpChannel.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetNewSequenceNumber
Returns a new sequence number.
(Inherited from TcpChannel.)
Protected methodGetNewTokenId
Returns a new token id.
Protected methodGetNonceLength
Returns the length of the symmetric encryption key.
(Inherited from TcpChannel.)
Protected methodGetPlainTextBlockSize
Returns the plain text block size for key in the specified certificate.
(Inherited from TcpChannel.)
Protected methodGetSavedChunks
Returns the chunks saved for message.
(Inherited from TcpChannel.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleIncomingMessage
Processes an incoming message.
(Overrides TcpChannel..::..HandleIncomingMessage(UInt32, ArraySegment<(Of <<'(Byte>)>>)).)
Protected methodHandleMessageProcessingError(ServiceResult)
Handles an error parsing or verifying a message.
(Inherited from TcpChannel.)
Protected methodHandleMessageProcessingError(UInt32, String, array<Object>[]()[][])
Handles an error parsing or verifying a message.
(Inherited from TcpChannel.)
Protected methodHandleMessageProcessingError(Exception, UInt32, String, array<Object>[]()[][])
Handles an error parsing or verifying a message.
(Inherited from TcpChannel.)
Protected methodHandleSocketError
Handles a socket error.
(Overrides TcpChannel..::..HandleSocketError(ServiceResult).)
Protected methodHandleWriteComplete
Called after a write operation completes.
(Inherited from TcpChannel.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMessageLimitsExceeded
Checks if the message limits have been exceeded.
(Inherited from TcpChannel.)
Public methodOnMessageReceived
Processes an incoming message.
(Inherited from TcpChannel.)
Public methodOnReceiveError
Handles a receive error.
(Inherited from TcpChannel.)
Protected methodOnWriteComplete
Handles a write complete event.
(Inherited from TcpChannel.)
Protected methodReadAsymmetricMessage
Processes an OpenSecureChannel request message.
(Inherited from TcpChannel.)
Protected methodReadAsymmetricMessageHeader
Reads the asymmetric security header to the buffer.
(Inherited from TcpChannel.)
Protected methodReadSymmetricMessage
Decrypts and verifies a message chunk.
(Inherited from TcpChannel.)
Public methodReconnect
Handles a reconnect request.
Protected methodResetSequenceNumber
Resets the sequence number after a connect.
(Inherited from TcpChannel.)
Protected methodReviseSecurityMode
Checks if it is possible to revise the security mode.
(Inherited from TcpChannel.)
Protected methodSaveIntermediateChunk
Saves an intermediate chunk for an incoming message.
(Inherited from TcpChannel.)
Protected methodSendErrorMessage
Sends an error message over the socket.
Public methodSendResponse
Sends the response for the specified request.
Protected methodSetEndpointUrl
Sets to endpoint according to the endpoint url.
(Inherited from TcpChannel.)
Public methodSetRequestReceivedCallback
Sets the callback used to receive notifications of new events.
Public methodSetStateChangedCallback
Raised when the state of the channel changes.
(Inherited from TcpChannel.)
Protected methodSign(ArraySegment<(Of <<'(Byte>)>>), X509Certificate2)
Adds an asymmetric signature to the end of the buffer.
(Inherited from TcpChannel.)
Protected methodSign(TcpChannelToken, ArraySegment<(Of <<'(Byte>)>>), Boolean)
Returns the symmetric signature for the data.
(Inherited from TcpChannel.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodValidateNonce
Validates the nonce.
(Inherited from TcpChannel.)
Protected methodVerify(ArraySegment<(Of <<'(Byte>)>>), array<Byte>[]()[][], X509Certificate2)
Verifies an asymmetric signature at the end of the buffer.
(Inherited from TcpChannel.)
Protected methodVerify(TcpChannelToken, array<Byte>[]()[][], ArraySegment<(Of <<'(Byte>)>>), Boolean)
Returns the symmetric signature for the data.
(Inherited from TcpChannel.)
Protected methodVerifySequenceNumber
Checks if the sequence number is valid.
(Inherited from TcpChannel.)
Protected methodWriteAsymmetricMessage
Sends a OpenSecureChannel response.
(Inherited from TcpChannel.)
Protected methodWriteAsymmetricMessageHeader
Writes the asymmetric security header to the buffer.
(Inherited from TcpChannel.)
Protected methodWriteSymmetricMessage
Secures the message using the security token.
(Inherited from TcpChannel.)

Properties

  NameDescription
Protected propertyBufferManager
The buffer manager for the channel.
(Inherited from TcpChannel.)
Protected propertyChannelId
The identifier assigned to the channel by the server.
(Inherited from TcpChannel.)
Protected propertyClientCertificate
The certificate for the client.
(Inherited from TcpChannel.)
Protected propertyCurrentToken
Returns the current security token.
(Inherited from TcpChannel.)
Protected propertyDataLock
The synchronization object for the channel.
(Inherited from TcpChannel.)
Protected propertyDiscoveryOnly
Whether the channel is restricted to discovery operations.
(Inherited from TcpChannel.)
Public propertyEndpointDescription
Returns the endpoint description selected by the client.
(Inherited from TcpChannel.)
Public propertyGlobalChannelId
The globally unique identifier assigned to the channel by the server.
(Inherited from TcpChannel.)
Public propertyId
The identifier assigned to the channel by the server.
(Inherited from TcpChannel.)
Protected propertyMaxRequestChunkCount
The maximum number of chunks per request message.
(Inherited from TcpChannel.)
Protected propertyMaxRequestMessageSize
The maximum size for a request message.
(Inherited from TcpChannel.)
Protected propertyMaxResponseChunkCount
The maximum number of chunks per response message.
(Inherited from TcpChannel.)
Protected propertyMaxResponseMessageSize
The maximum size for a response message.
(Inherited from TcpChannel.)
Protected propertyPreviousToken
Returns the current security token.
(Inherited from TcpChannel.)
Protected propertyQuotas
The resource quotas for the channel.
(Inherited from TcpChannel.)
Protected propertyReceiveBufferSize
The size of the receive buffer.
(Inherited from TcpChannel.)
Protected propertySecurityMode
The security mode used with the channel.
(Inherited from TcpChannel.)
Protected propertySecurityPolicyUri
The security policy used with the channel.
(Inherited from TcpChannel.)
Protected propertySendBufferSize
The size of the send buffer.
(Inherited from TcpChannel.)
Protected propertyServerCertificate
The certificate for the server.
(Inherited from TcpChannel.)
Protected propertySocket
The socket for the channel.
(Inherited from TcpChannel.)
Protected propertyState
The state of the channel.
(Inherited from TcpChannel.)

See Also