Click or drag to resize

ProtocolCreateDownStreamAddress Method

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.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
protected virtual void CreateDownStreamAddress(
	ProtocolAddress address,
	ref Protocol?? downStreamProtocol,
	ref ProtocolAddress?? downStreamAddress
)

Parameters

address
Type: Demo3D.NetProtocolAddress
The address used by this protocol.
downStreamProtocol
Type: Demo3D.NetProtocol
The downstream protocol for which an address is needed. Return null to prevent creating downstream protocols.
downStreamAddress
Type: Demo3D.NetProtocolAddress
The downstream protocol address. Return null to stop processing downstream protocols.

Return Value

Type: 
See Also