C# Class llbc.LLBCNative

Wrap comm/_Service.h file defined c functions
Mostrar archivo Open project: lailongwei/llbc Class Usage Examples

Private Methods

Method Description
csllbc_Cleanup ( ) : int
csllbc_Console_GetBackgroundColor ( ) : int
csllbc_Console_GetForegroundColor ( ) : int
csllbc_Console_ResetColor ( ) : int
csllbc_Console_SafeFlush ( bool flushStdout ) : int
csllbc_Console_SafePrint ( bool toStdout, bool newLine, IntPtr value, int valueLen ) : void
csllbc_Console_SetBackgroundColor ( int color ) : int
csllbc_Console_SetForegroundColor ( int color ) : int
csllbc_Console_Trace ( IntPtr value, int valueLen ) : void
csllbc_FormatLastError ( IntPtr lastErrorLen ) : IntPtr
csllbc_Ini_FreeNativeSections ( IntPtr sections, int sectionCount ) : void
csllbc_Ini_LoadFromContent ( IntPtr content, IntPtr sectionCount, IntPtr errDescLen ) : IntPtr
csllbc_LibConfig_Comm_DefaultConnTimeout ( ) : int
csllbc_LibConfig_Comm_DefaultServiceFPS ( ) : int
csllbc_LibConfig_Comm_IsEnabledSamplerSupport ( ) : int
csllbc_LibConfig_Comm_IsEnabledStatusDesc ( ) : int
csllbc_LibConfig_Comm_IsEnabledStatusHandler ( ) : int
csllbc_LibConfig_Comm_IsEnabledUnifyPreSubscribe ( ) : int
csllbc_LibConfig_Comm_IsNetOrder ( ) : int
csllbc_LibConfig_Comm_IsUsedFullStack ( ) : int
csllbc_LibConfig_Comm_MaxEventCount ( ) : int
csllbc_LibConfig_Comm_MaxServiceFPS ( ) : int
csllbc_LibConfig_Comm_MinServiceFPS ( ) : int
csllbc_LibConfig_Comm_PerThreadDriveMaxServiceCount ( ) : int
csllbc_LibConfig_Comm_PollerModel ( long model, int modelLen ) : int
csllbc_LibConfig_DefaultBacklogSize ( ) : int
csllbc_LibConfig_Log_DefaultConsoleLogPattern ( long pattern, int patternLen ) : int
csllbc_LibConfig_Log_DefaultFileLogPattern ( long pattern, int patternLen ) : int
csllbc_LibConfig_Log_DefaultIsAsyncMode ( ) : int
csllbc_LibConfig_Log_DefaultLogFileBufferSize ( ) : int
csllbc_LibConfig_Log_DefaultLogFileName ( long name, int nameLen ) : int
csllbc_LibConfig_Log_DefaultLogFlushInterval ( ) : int
csllbc_LibConfig_Log_DefaultLogLevel ( ) : int
csllbc_LibConfig_Log_DefaultLogToConsole ( ) : int
csllbc_LibConfig_Log_IsDeafaultEnabledColourfulOutput ( ) : int
csllbc_LibConfig_Log_IsDefaultEnabledDailyMode ( ) : int
csllbc_LibConfig_Log_IsDefaultLogToFile ( ) : int
csllbc_LibConfig_Log_IsDirectFlushToConsole ( ) : int
csllbc_LibConfig_Log_MaxBackupIndex ( ) : int
csllbc_LibConfig_Log_MaxFileSize ( ) : long
csllbc_LibConfig_Log_MaxLogFlushInterval ( ) : int
csllbc_LibConfig_Timer_StrictSchedule ( ) : int
csllbc_Log_Destroy ( ) : void
csllbc_Log_GetLogLevel ( IntPtr logger ) : int
csllbc_Log_GetLogger ( IntPtr loggerName ) : IntPtr
csllbc_Log_Init ( IntPtr cfgFile ) : int
csllbc_Log_IsInited ( ) : int
csllbc_Log_LogMsg ( IntPtr logger, IntPtr fileName, int lineNo, int level, IntPtr msg, IntPtr tag ) : int
csllbc_Service_AsyncConn ( IntPtr svc, IntPtr ip, int port ) : int
csllbc_Service_Broadcast ( IntPtr svc, int opcode, IntPtr data, int dataLen, int status ) : int
csllbc_Service_Connect ( IntPtr svc, IntPtr ip, int port ) : int
csllbc_Service_Create ( int svcType, Deleg_Service_EncodePacket encodeDeleg, Deleg_Service_DecodePacket decodeDeleg, Deleg_Service_PacketHandler handlerDeleg, Deleg_Service_PacketPreHandler preHandlerDeleg, Deleg_Service_PacketUnifyPreHandler unifyPreHandlerDeleg, Deleg_Service_NativeCouldNotFoundDecoderReport notFoundDecoderDeleg ) : IntPtr
csllbc_Service_Delete ( IntPtr svc ) : void
csllbc_Service_GetDriveMode ( IntPtr svc ) : int
csllbc_Service_GetFPS ( IntPtr svc ) : int
csllbc_Service_GetFrameInterval ( IntPtr svc ) : int
csllbc_Service_GetId ( IntPtr svc ) : int
csllbc_Service_GetType ( IntPtr svc ) : int
csllbc_Service_IsSessionValidate ( IntPtr svc, int sessionId ) : int
csllbc_Service_IsStarted ( IntPtr svc ) : int
csllbc_Service_Listen ( IntPtr svc, IntPtr ip, int port ) : int
csllbc_Service_Multicast ( IntPtr svc, IntPtr sessionIds, int sessionIdCount, int opcode, IntPtr data, int dataLen, int status ) : int
csllbc_Service_OnSvc ( IntPtr svc, bool fullFrame ) : void
csllbc_Service_PreSubscribe ( IntPtr svc, int opcode ) : int
csllbc_Service_RegisterCoder ( IntPtr svc, int opcode ) : int
csllbc_Service_RegisterFacade ( IntPtr svc, Deleg_Facade_OnInit initDeleg, Deleg_Facade_OnDestroy destroyDeleg, Deleg_Facade_OnStart startDeleg, Deleg_Facade_OnStop stopDeleg, Deleg_Facade_OnUpdate updateDeleg, Deleg_Facade_OnIdle idleDeleg, Deleg_Facade_OnSessionCreate sessionCreateDeleg, Deleg_Facade_OnSessionDestroy sessionDestroyDeleg, Deleg_Facade_OnAsyncConnResult asyncConnResultDeleg, Deleg_Facade_OnProtoReport protoReportDeleg, Deleg_Facade_OnUnHandledPacket unHandledPacketDeleg ) : int
csllbc_Service_RemoveSession ( IntPtr svc, int sessionId, IntPtr reason, int reasonLen ) : int
csllbc_Service_SendBytes ( IntPtr svc, int sessionId, int opcode, IntPtr data, int dataLen, int status ) : int
csllbc_Service_SendPacket ( IntPtr svc, int sessionId, int opcode, long packetId, int status ) : int
csllbc_Service_SetDriveMode ( IntPtr svc, int driveMode ) : int
csllbc_Service_SetFPS ( IntPtr svc, int fps ) : int
csllbc_Service_Start ( IntPtr svc, int pollerCount ) : int
csllbc_Service_Stop ( IntPtr svc ) : void
csllbc_Service_Subscribe ( IntPtr svc, int opcode ) : int
csllbc_Service_UnifyPreSubscribe ( IntPtr svc ) : int
csllbc_Startup ( ) : int
csllbc_Timer_Cancel ( IntPtr timer ) : void
csllbc_Timer_Create ( Deleg_Timer_OnTimeout timeoutDeleg, Deleg_Timer_OnCancel cancelDeleg ) : IntPtr
csllbc_Timer_Destroy ( IntPtr timer ) : void
csllbc_Timer_GetDueTime ( IntPtr timer ) : ulong
csllbc_Timer_GetPeriod ( IntPtr timer ) : ulong
csllbc_Timer_GetTimerId ( IntPtr timer ) : ulong
csllbc_Timer_IsScheduling ( IntPtr timer ) : int
csllbc_Timer_Schedule ( IntPtr timer, ulong dueTime, ulong period ) : int
csllbc_Utils_String_HashString ( IntPtr str, int strLen ) : int