Exemplo n.º 1
0
 /// <summary> Creates a new protocol given the protocol specification.</summary>
 /// <param name="prot_spec">The specification of the protocol. Same convention as for specifying a protocol stack.
 /// An exception will be thrown if the class cannot be created. Example:
 /// <pre>"VERIFY_SUSPECT(timeout=1500)"</pre> Note that no colons (:) have to be
 /// specified
 /// </param>
 /// <returns> Protocol The newly created protocol
 /// </returns>
 /// <exception cref=""> Exception Will be thrown when the new protocol cannot be created
 /// </exception>
 public virtual Protocol createProtocol(string prot_spec)
 {
     return(conf.createProtocol(prot_spec, this));
 }