C# Class PureCat.Message.Internals.AbstractMessage

Inheritance: IMessage
Show file Open project: chinaboard/PureCat

Public Methods

Method Description
AddData ( string keyValuePairs ) : void
AddData ( string key, Object value ) : void
Complete ( ) : void
IsCompleted ( ) : bool
IsSuccess ( ) : bool
SetStatus ( Exception e ) : void
ToString ( ) : string

Protected Methods

Method Description
AbstractMessage ( string type, string name, IMessageManager messageManager = null ) : System
SetCompleted ( bool completed ) : void

Method Details

AbstractMessage() protected method

protected AbstractMessage ( string type, string name, IMessageManager messageManager = null ) : System
type string
name string
messageManager IMessageManager
return System

AddData() public method

public AddData ( string keyValuePairs ) : void
keyValuePairs string
return void

AddData() public method

public AddData ( string key, Object value ) : void
key string
value Object
return void

Complete() public method

public Complete ( ) : void
return void

IsCompleted() public method

public IsCompleted ( ) : bool
return bool

IsSuccess() public method

public IsSuccess ( ) : bool
return bool

SetCompleted() protected method

protected SetCompleted ( bool completed ) : void
completed bool
return void

SetStatus() public method

public SetStatus ( Exception e ) : void
e System.Exception
return void

ToString() public method

public ToString ( ) : string
return string