public GetMessageProtocol ( string msg_type ) : TransportProtocol | ||
msg_type | string | |
return | TransportProtocol |
public TransportProtocol GetMessageProtocol(string msg_type)
{
if (message_protocols_.ContainsKey(msg_type))
return message_protocols_[msg_type];
return default_protocol_;
}