C# Class XAPI.Callback.BaseApi

Inheritance: IDisposable
Datei anzeigen Open project: QuantBox/XAPI2

Public Properties

Property Type Description
LibPath string
Log object
Server ServerInfoField
User UserInfoField
UserList List
UserLoginField RspUserLoginField

Protected Properties

Property Type Description
Handle System.IntPtr
locker object
proxy System.Proxy

Public Methods

Method Description
BaseApi ( ) : System
BaseApi ( string path ) : System
Connect ( ) : void
Disconnect ( ) : void
Dispose ( ) : void
GCCollect ( ) : void

这个功能主要是给非.NET语言在调用时使用

RegisterAndStart ( IntPtr ptr1 ) : void
_Timer_Elapsed ( object sender, System e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnResponse ( byte type, IntPtr pApi1, IntPtr pApi2, double double1, double double2, IntPtr ptr1, int size1, IntPtr ptr2, int size2, IntPtr ptr3, int size3 ) : IntPtr

Private Methods

Method Description
_OnConnectionStatus ( double double1, IntPtr ptr1, int size1 ) : void
_OnLog ( IntPtr ptr1 ) : void
_OnRespone ( byte type, IntPtr pApi1, IntPtr pApi2, double double1, double double2, IntPtr ptr1, int size1, IntPtr ptr2, int size2, IntPtr ptr3, int size3 ) : IntPtr
_OnRtnError ( IntPtr ptr1 ) : void

Method Details

BaseApi() public method

public BaseApi ( ) : System
return System

BaseApi() public method

public BaseApi ( string path ) : System
path string
return System

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GCCollect() public method

这个功能主要是给非.NET语言在调用时使用
public GCCollect ( ) : void
return void

OnResponse() protected method

protected OnResponse ( byte type, IntPtr pApi1, IntPtr pApi2, double double1, double double2, IntPtr ptr1, int size1, IntPtr ptr2, int size2, IntPtr ptr3, int size3 ) : IntPtr
type byte
pApi1 System.IntPtr
pApi2 System.IntPtr
double1 double
double2 double
ptr1 System.IntPtr
size1 int
ptr2 System.IntPtr
size2 int
ptr3 System.IntPtr
size3 int
return System.IntPtr

RegisterAndStart() public method

public RegisterAndStart ( IntPtr ptr1 ) : void
ptr1 System.IntPtr
return void

_Timer_Elapsed() public method

public _Timer_Elapsed ( object sender, System e ) : void
sender object
e System
return void

Property Details

Handle protected_oe property

protected IntPtr,System Handle
return System.IntPtr

LibPath public_oe property

public string LibPath
return string

Log public_oe property

public object Log
return object

Server public_oe property

public ServerInfoField Server
return ServerInfoField

User public_oe property

public UserInfoField User
return UserInfoField

UserList public_oe property

public List UserList
return List

UserLoginField public_oe property

public RspUserLoginField UserLoginField
return RspUserLoginField

locker protected_oe property

protected object locker
return object

proxy protected_oe property

protected Proxy,System proxy
return System.Proxy