List of all members.
Public Member Functions |
| Protocol (string name, string space, string doc, IEnumerable< Schema > types, IDictionary< string, Message > messages) |
| Constructor for Protocol class.
|
override string | ToString () |
| Writes Protocol in JSON format.
|
override bool | Equals (object obj) |
| Tests equality of this protocol object with the passed object.
|
override int | GetHashCode () |
| Returns the hash code of this protocol object.
|
Static Public Member Functions |
static Protocol | Parse (string jstring) |
| Parses the given JSON string to create a Protocol object.
|
Properties |
string | Name [get, set] |
| Name of the protocol.
|
string | Namespace [get, set] |
| Namespace of the protocol.
|
string | Doc [get, set] |
| Documentation for the protocol.
|
IList< Schema > | Types [get, set] |
| List of schemas objects representing the different schemas defined under the 'types' attribute.
|
IDictionary< string, Message > | Messages [get, set] |
| List of message objects representing the different schemas defined under the 'messages' attribute.
|
byte[] | MD5 [get] |
Constructor & Destructor Documentation
Constructor for Protocol class.
- Parameters:
-
name | required name of protocol |
space | optional namespace |
doc | optional documentation |
types | required list of types |
messages | required list of messages |
Member Function Documentation
Tests equality of this protocol object with the passed object.
- Parameters:
-
- Returns:
Returns the hash code of this protocol object.
- Returns:
Parses the given JSON string to create a Protocol object.
- Parameters:
-
- Returns:
- Protocol object
Writes Protocol in JSON format.
- Returns:
- JSON string
Property Documentation
Documentation for the protocol.
List of message objects representing the different schemas defined under the 'messages' attribute.
Namespace of the protocol.
List of schemas objects representing the different schemas defined under the 'types' attribute.
The documentation for this class was generated from the following file:
- src/apache/main/Protocol/Protocol.cs