C# Class FreeSWITCH.Native.Event

Inheritance: IDisposable
显示文件 Open project: sangoma/freeswitch Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
AddBody ( string value ) : bool
AddHeader ( string header_name, string value ) : bool
DeleteHeader ( string header_name ) : bool
Dispose ( ) : void
Event ( string type, string subclass_name ) : System
Event ( switch_event wrap_me, int free_me ) : System
Fire ( ) : bool
GetBody ( ) : string
GetEventType ( ) : string
GetHeader ( string header_name ) : string
Serialize ( string format ) : string
SetPriority ( switch_priority_t priority ) : bool
chat_execute ( string app, string data ) : int
chat_send ( string dest_proto ) : int

Private Methods

Method Description
Event ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Event obj ) : HandleRef

Method Details

AddBody() public method

public AddBody ( string value ) : bool
value string
return bool

AddHeader() public method

public AddHeader ( string header_name, string value ) : bool
header_name string
value string
return bool

DeleteHeader() public method

public DeleteHeader ( string header_name ) : bool
header_name string
return bool

Dispose() public method

public Dispose ( ) : void
return void

Event() public method

public Event ( string type, string subclass_name ) : System
type string
subclass_name string
return System

Event() public method

public Event ( switch_event wrap_me, int free_me ) : System
wrap_me switch_event
free_me int
return System

Fire() public method

public Fire ( ) : bool
return bool

GetBody() public method

public GetBody ( ) : string
return string

GetEventType() public method

public GetEventType ( ) : string
return string

GetHeader() public method

public GetHeader ( string header_name ) : string
header_name string
return string

Serialize() public method

public Serialize ( string format ) : string
format string
return string

SetPriority() public method

public SetPriority ( switch_priority_t priority ) : bool
priority switch_priority_t
return bool

chat_execute() public method

public chat_execute ( string app, string data ) : int
app string
data string
return int

chat_send() public method

public chat_send ( string dest_proto ) : int
dest_proto string
return int

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool