Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OODebugTCPConsoleClient.m File Reference
import "OODebugTCPConsoleClient.h"
import "OODebugTCPConsoleProtocol.h"
import "OODebugMonitor.h"
import "OOFunctionAttributes.h"
import "OOLogging.h"
#include <stdint.h>
import "NSDictionaryOOExtensions.h"
#include <arpa/inet.h>
import "OOCollectionExtractors.h"
import "OOTCPStreamDecoder.h"
+ Include dependency graph for OODebugTCPConsoleClient.m:

Go to the source code of this file.

Classes

category  OODebugTCPConsoleClient(OOPrivate)
 

Macros

#define LogSendPacket(packet)
 
#define PACKET_CASE(x)
 

Functions

static void DecoderPacket (void *cbInfo, OOALStringRef packetType, OOALDictionaryRef packet)
 
static void DecoderError (void *cbInfo, OOALStringRef errorDesc)
 
OOINLINE BOOL StatusIsSendable (OOTCPClientConnectionStatus status)
 

Macro Definition Documentation

◆ LogSendPacket

#define LogSendPacket ( packet)
Value:
do {} while (0)

Definition at line 54 of file OODebugTCPConsoleClient.m.

◆ PACKET_CASE

#define PACKET_CASE ( x)
Value:
else if ([packetType isEqualToString:kOOTCPPacket_##x]) { [self handle##x##Packet:packet]; }
float x

Function Documentation

◆ DecoderError()

static void DecoderError ( void * cbInfo,
OOALStringRef errorDesc )
static

Definition at line 704 of file OODebugTCPConsoleClient.m.

705{
706 [(OODebugTCPConsoleClient *)cbInfo breakConnectionWithMessage:errorDesc];
707}

◆ DecoderPacket()

static void DecoderPacket ( void * cbInfo,
OOALStringRef packetType,
OOALDictionaryRef packet )
static

Definition at line 698 of file OODebugTCPConsoleClient.m.

699{
700 [(OODebugTCPConsoleClient *)cbInfo dispatchPacket:packet ofType:packetType];
701}

◆ StatusIsSendable()