Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
Classes | Macros | Functions
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)   do {} while (0)
 
#define PACKET_CASE(x)   else if ([packetType isEqualToString:kOOTCPPacket_##x]) { [self handle##x##Packet:packet]; }
 

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)    do {} while (0)

Definition at line 54 of file OODebugTCPConsoleClient.m.

◆ PACKET_CASE

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

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()

OOINLINE BOOL StatusIsSendable ( OOTCPClientConnectionStatus status)