Represents a message in an Avro protocol.
More...
|
| | Message (string name, string doc, RecordSchema request, Schema response, UnionSchema error, bool? oneway) |
| | Constructor for Message class.
|
| |
| override bool | Equals (Object obj) |
| | Tests equality of this Message object with the passed object.
|
| |
| override int | GetHashCode () |
| | Returns the hash code of this Message object.
|
| |
|
| static bool | areEqual (object o1, object o2) |
| | Tests equality of two objects taking null values into account.
|
| |
|
|
string | Name [get, set] |
| | Name of the message.
|
| |
|
string | Doc [get, set] |
| | Documentation for the message.
|
| |
|
RecordSchema | Request [get, set] |
| | Anonymous record for the list of parameters for the request fields.
|
| |
|
Schema | Response [get, set] |
| | Schema object for the 'response' attribute.
|
| |
|
UnionSchema | Error [get, set] |
| | Union schema object for the 'error' attribute.
|
| |
|
bool? | Oneway [get, set] |
| | Optional one-way attribute.
|
| |
|
UnionSchema | SupportedErrors [get, set] |
| | Explicitly defined protocol errors plus system added "string" error.
|
| |
Represents a message in an Avro protocol.
◆ Message()
Constructor for Message class.
- Parameters
-
| name | name property |
| doc | doc property |
| request | list of parameters |
| response | response property |
| error | error union schema |
| oneway | Indicates that this is a one-way message. This may only be true when response is Schema.Type.Null and there are no errors listed. |
◆ areEqual()
| static bool Avro.Message.areEqual |
( |
object |
o1, |
|
|
object |
o2 |
|
) |
| |
|
inlinestaticprotected |
Tests equality of two objects taking null values into account.
- Parameters
-
- Returns
◆ Equals()
| override bool Avro.Message.Equals |
( |
Object |
obj | ) |
|
|
inline |
Tests equality of this Message object with the passed object.
- Parameters
-
- Returns
◆ GetHashCode()
| override int Avro.Message.GetHashCode |
( |
| ) |
|
|
inline |
Returns the hash code of this Message object.
- Returns
The documentation for this class was generated from the following file:
- src/apache/main/Protocol/Message.cs