Oolite 1.91.0.7659-250410-0031890
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
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.

Referenced by OODebugTCPConsoleClient(OOPrivate)::sendDictionary:.

◆ PACKET_CASE

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

Referenced by OODebugTCPConsoleClient(OOPrivate)::dispatchPacket:ofType:.

Function Documentation

◆ DecoderError()

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

Definition at line 704 of file OODebugTCPConsoleClient.m.

References OODebugTCPConsoleClient::breakConnectionWithMessage:.

Referenced by OODebugTCPConsoleClient::initWithAddress:port:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DecoderPacket()

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

Definition at line 698 of file OODebugTCPConsoleClient.m.

699{
701}
void dispatchPacket:ofType:(NSDictionary *packet,[ofType] NSString *packetType)

References OODebugTCPConsoleClient::dispatchPacket:ofType:.

Referenced by OODebugTCPConsoleClient::initWithAddress:port:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StatusIsSendable()