'Declaration Public Overloads Sub AddPacketPayloadType(Of T As SSHPacketPayload)( _ ByVal id As Byte, _ ByVal packetHandler As PacketHandlerDelegate, _ ByVal priority As Byte _ )
'Usage Dim instance As SSHPacketIOManager Dim id As Byte Dim packetHandler As PacketHandlerDelegate Dim priority As Byte instance.AddPacketPayloadType(Of T)(id, packetHandler, priority)
public void AddPacketPayloadType<T>( byte id, PacketHandlerDelegate packetHandler, byte priority ) where T: SSHPacketPayload
Parameters
- id
- packetHandler
- priority
Type Parameters
- T