Protocol Methods |
The Protocol type exposes the following members.
| Name | Description | |
|---|---|---|
| AddChannel |
Adds a channel.
| |
| CreateDownStreamAddress |
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.
| |
| Dispose |
Releases all protocol resources.
| |
| FindChannel |
Returns the named channel, or null.
| |
| NewInstance |
Create a new server/client protocol instance.
| |
| RegisterService |
Registers a service.
| |
| RemoveChannel |
Removes a channel.
| |
| SupportsService |
Returns whether a particular service is supported.
| |
| ToString |
Returns the name of the protocol.
(Overrides ObjectToString.) | |
| UnregisterService |
Unregisters a service.
|