![]() |
Oolite 1.91.0.7668-250429-8542c40
|
Instance Methods | |
(void) | - closeConnection |
(BOOL) | - sendBytes:count: |
(void) | - sendDictionary: |
(void) | - sendPacket:withParameters: |
(void) | - sendPacket:withValue:forParameter: |
(void) | - readData |
(void) | - dispatchPacket:ofType: |
(void) | - handleApproveConnectionPacket: |
(void) | - handleRejectConnectionPacket: |
(void) | - handleCloseConnectionPacket: |
(void) | - handleNoteConfigurationChangePacket: |
(void) | - handlePerformCommandPacket: |
(void) | - handleRequestConfigurationValuePacket: |
(void) | - handlePingPacket: |
(void) | - handlePongPacket: |
(void) | - disconnectFromServerWithMessage: |
(void) | - breakConnectionWithMessage: |
(void) | - breakConnectionWithBadStream: |
Definition at line 68 of file OODebugTCPConsoleClient.m.
- (void) breakConnectionWithBadStream: | (NSStream *) | stream |
Extends class OODebugTCPConsoleClient.
Definition at line 681 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::breakConnectionWithMessage:, and nil.
- (void) breakConnectionWithMessage: | (NSString *) | message |
Extends class OODebugTCPConsoleClient.
Definition at line 658 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::closeConnection, kOOTCPClientConnectionRefused, kOOTCPClientDisconnected, nil, and OOLog.
- (void) closeConnection |
Extends class OODebugTCPConsoleClient.
Definition at line 322 of file OODebugTCPConsoleClient.m.
References closeConnection, and nil.
Referenced by closeConnection.
- (void) disconnectFromServerWithMessage: | (NSString *) | message |
Extends class OODebugTCPConsoleClient.
Definition at line 644 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::closeConnection, kOOTCPClientDisconnected, OODebugTCPConsoleClient::sendPacket:withValue:forParameter:, and StatusIsSendable().
- (void) dispatchPacket: | (NSDictionary *) | packet | |
ofType: | (NSString *) | packetType |
Extends class OODebugTCPConsoleClient.
Definition at line 485 of file OODebugTCPConsoleClient.m.
References nil, OOLog, and PACKET_CASE.
- (void) handleApproveConnectionPacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 507 of file OODebugTCPConsoleClient.m.
References kOOTCPClientConnected, kOOTCPClientStartedConnectionStage2, kOOTCPPacket_ApproveConnection, nil, and OOLog.
- (void) handleCloseConnectionPacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 560 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::breakConnectionWithMessage:, kOOTCPPacket_CloseConnection, nil, OOLog, and StatusIsSendable().
- (void) handleNoteConfigurationChangePacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 574 of file OODebugTCPConsoleClient.m.
References nil.
- (void) handlePerformCommandPacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 602 of file OODebugTCPConsoleClient.m.
References nil.
- (void) handlePingPacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 627 of file OODebugTCPConsoleClient.m.
References nil, and OODebugTCPConsoleClient::sendPacket:withValue:forParameter:.
- (void) handlePongPacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 638 of file OODebugTCPConsoleClient.m.
- (void) handleRejectConnectionPacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 541 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::breakConnectionWithMessage:, kOOTCPClientConnectionRefused, kOOTCPClientStartedConnectionStage2, kOOTCPPacket_RejectConnection, nil, and OOLog.
- (void) handleRequestConfigurationValuePacket: | (NSDictionary *) | packet |
Extends class OODebugTCPConsoleClient.
Definition at line 611 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::debugMonitor:noteChangedConfigrationValue:forKey:, and nil.
- (void) readData |
Extends class OODebugTCPConsoleClient.
Definition at line 467 of file OODebugTCPConsoleClient.m.
References OOTCPStreamDecoderReceiveData(), and readData.
Referenced by readData.
- (BOOL) sendBytes: | (const void *) | bytes | |
count: | (size_t) | count |
Extends class OODebugTCPConsoleClient.
Definition at line 339 of file OODebugTCPConsoleClient.m.
References count, nil, and StatusIsSendable().
- (void) sendDictionary: | (NSDictionary *) | dictionary |
Extends class OODebugTCPConsoleClient.
Definition at line 358 of file OODebugTCPConsoleClient.m.
References OODebugTCPConsoleClient::breakConnectionWithBadStream:, count, LogSendPacket, nil, OOLog, and StatusIsSendable().
- (void) sendPacket: | (NSString *) | packetType | |
withParameters: | (NSDictionary *) | parameters |
Extends class OODebugTCPConsoleClient.
Definition at line 433 of file OODebugTCPConsoleClient.m.
References nil, and OODebugTCPConsoleClient::sendDictionary:.
- (void) sendPacket: | (NSString *) | packetType | |
withValue: | (id) | value | |
forParameter: | (NSString *) | paramKey |
Extends class OODebugTCPConsoleClient.
Definition at line 453 of file OODebugTCPConsoleClient.m.
References nil, and OODebugTCPConsoleClient::sendDictionary:.