Click or drag to resize

Protocol Methods

The Protocol type exposes the following members.

Methods
  NameDescription
Public methodAddChannel
Adds a channel.
Protected methodCreateDownStreamAddress
Creates the downstream address given an upstream address and a downstream protocol. Normally this does not need to be overridden, but there are some cases where it's required. For example, the downstream address returned by COTP for "cotp://host/tsap" would be "tpkt://host:102". Or you can return null to stop the protocol stack from building downstream protocol instances. You might do this if you want to take control of building the downstream protocol instances, or nor build them at all.
Public methodDispose
Releases all protocol resources.
Public methodFindChannel
Returns the named channel, or null.
Protected methodNewInstance
Create a new server/client protocol instance.
Public methodRegisterService
Registers a service.
Public methodRemoveChannel
Removes a channel.
Public methodSupportsService
Returns whether a particular service is supported.
Public methodToString
Returns the name of the protocol.
(Overrides ObjectToString.)
Public methodUnregisterService
Unregisters a service.
Top
See Also