C# Class pegasus.eventbus.client.Envelope

Datei anzeigen Open project: Berico-Technologies/Event-Bus

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( byte body ) : Envelope
Envelope ( ) : System
Envelope ( IEvent message ) : System
GetEventType ( string type ) : Type
GetHeader ( string key ) : string
Open ( ) : IEvent
Serialize ( ) : byte[]
SetHeader ( string key, string value ) : void
ToString ( ) : string

Protected Methods

Method Description
Envelope ( byte body ) : System

Method Details

Deserialize() public static method

public static Deserialize ( byte body ) : Envelope
body byte
return Envelope

Envelope() public method

public Envelope ( ) : System
return System

Envelope() public method

public Envelope ( IEvent message ) : System
message IEvent
return System

Envelope() protected method

protected Envelope ( byte body ) : System
body byte
return System

GetEventType() public method

public GetEventType ( string type ) : Type
type string
return System.Type

GetHeader() public method

public GetHeader ( string key ) : string
key string
return string

Open() public method

public Open ( ) : IEvent
return IEvent

Serialize() public method

public Serialize ( ) : byte[]
return byte[]

SetHeader() public method

public SetHeader ( string key, string value ) : void
key string
value string
return void

ToString() public method

public ToString ( ) : string
return string