Show / Hide Table of Contents

Class Message

Inheritance
System.Object
Message
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Avro
Assembly: Avro.dll
Syntax
public class Message

Constructors

| Improve this Doc View Source

Message(String, String, RecordSchema, Schema, UnionSchema, Nullable<Boolean>)

Constructor for Message class

Declaration
public Message(string name, string doc, RecordSchema request, Schema response, UnionSchema error, bool? oneway)
Parameters
Type Name Description
System.String name

name property

System.String doc

doc property

RecordSchema request

list of parameters

Schema response

response property

UnionSchema error

error union schema

System.Nullable<System.Boolean> oneway

Properties

| Improve this Doc View Source

Doc

Documentation for the message

Declaration
public string Doc { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Error

Union schema object for the 'error' attribute

Declaration
public UnionSchema Error { get; set; }
Property Value
Type Description
UnionSchema
| Improve this Doc View Source

Name

Name of the message

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Oneway

Optional one-way attribute

Declaration
public bool? Oneway { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

Request

Anonymous record for the list of parameters for the request fields

Declaration
public RecordSchema Request { get; set; }
Property Value
Type Description
RecordSchema
| Improve this Doc View Source

Response

Schema object for the 'response' attribute

Declaration
public Schema Response { get; set; }
Property Value
Type Description
Schema
| Improve this Doc View Source

SupportedErrors

Explicitly defined protocol errors plus system added "string" error

Declaration
public UnionSchema SupportedErrors { get; set; }
Property Value
Type Description
UnionSchema

Methods

| Improve this Doc View Source

areEqual(Object, Object)

Tests equality of two objects taking null values into account

Declaration
protected static bool areEqual(object o1, object o2)
Parameters
Type Name Description
System.Object o1
System.Object o2
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Tests equality of this Message object with the passed object

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Returns the hash code of this Message object

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()
  • Improve this Doc
  • View Source
Back to top Copyright © 2012 The Apache Software Foundation.