Connection Klassenreferenz

#import <Connection.h>

Abgeleitet von NSObject.

Basisklasse für IMAPConnection, POP3Connection und SMTPConnection.

Aufstellung aller Elemente


Öffentliche Methoden

(void) - dealloc
(BOOL) - isForcedConnection
(BOOL) - isFetching
(void) - setIsFetching:
(BOOL) - connectUsingSettings:
(BOOL) - connectUsingAccount:
(BOOL) - connectUsingFallbacksForAccount:
(void) - setAllowsFallbacks:
(BOOL) - authenticateUsingAccount:
(id) - capabilities
(id) - authenticationMechanisms
(BOOL) - writeData:dontLogBytesInRange:
(BOOL) - writeData:
(void) - setDesiredReadBufferLength:
(BOOL) - readLineIntoData:
(BOOL) - readBytesIntoData:desiredLength:
(BOOL) - authenticateUsingAccount:authenticator:
(BOOL) - startTLSForAccount:
(BOOL) - isValid
(void) - disconnect
(void *) - _socket
(BOOL) - hasBytesAvailable
(double) - lastUsedTime

Öffentliche, statische Methoden

(void) + initialize
(void) + logBytes:length:
(void) + flushLog
(id) + logClasses
(void) + setLogClasses:
(BOOL) + logAllSocketActivity
(void) + setLogAllSocketActivity:
(id) + logActivityOnPorts
(void) + setLogActivityOnPorts:
(id) + logActivityOnHosts
(void) + setLogActivityOnHosts:
(BOOL) + shouldTryFallbacksAfterError:

Geschützte Attribute

id< SASLSecurityLayer > _securityLayer
_NSSocket_socket
char * _buffer
int _bufferRemainingBytes
unsigned int _bufferStart
unsigned int _bufferLength
unsigned int _desiredBufferLength
NSData_logData
unsigned int _isFetching:1
unsigned int _allowFallbacks:1

Ausführliche Beschreibung

Definiert in Zeile 11 der Datei Connection.h.


Dokumentation der Elementfunktionen

+ (void) initialize  

Implementiert NSObject.

Implementiert in IMAPConnection und SMTPConnection.

+ (void) logBytes: (const char *)  fp8
length: (int)  fp12 

+ (void) flushLog  

+ (id) logClasses  

+ (void) setLogClasses: (id)  fp8  

+ (BOOL) logAllSocketActivity  

+ (void) setLogAllSocketActivity: (BOOL)  fp8  

+ (id) logActivityOnPorts  

+ (void) setLogActivityOnPorts: (id)  fp8  

+ (id) logActivityOnHosts  

+ (void) setLogActivityOnHosts: (id)  fp8  

+ (BOOL) shouldTryFallbacksAfterError: (id)  fp8  

- (void) dealloc  

Implementiert NSObject.

Implementiert in IMAPConnection, POP3Connection und SMTPConnection.

- (BOOL) isForcedConnection  

- (BOOL) isFetching  

- (void) setIsFetching: (BOOL)  fp8  

- (BOOL) connectUsingSettings: (id)  fp8  

- (BOOL) connectUsingAccount: (id)  fp8  

- (BOOL) connectUsingFallbacksForAccount: (id)  fp8  

- (void) setAllowsFallbacks: (BOOL)  fp8  

- (BOOL) authenticateUsingAccount: (id)  fp8  

- (id) capabilities  

Implementiert in IMAPConnection und POP3Connection.

- (id) authenticationMechanisms  

Implementiert in POP3Connection und SMTPConnection.

- (BOOL) writeData: (id)  fp8
dontLogBytesInRange: (struct _NSRange fp12 

- (BOOL) writeData: (id)  fp8  

- (void) setDesiredReadBufferLength: (unsigned int)  fp8  

- (BOOL) readLineIntoData: (id)  fp8  

- (BOOL) readBytesIntoData: (id)  fp8
desiredLength: (unsigned int)  fp12 

- (BOOL) authenticateUsingAccount: (id)  fp8
authenticator: (id)  fp12 

- (BOOL) startTLSForAccount: (id)  fp8  

Implementiert in IMAPConnection und POP3Connection.

- (BOOL) isValid  

Implementiert in IMAPConnection.

- (void) disconnect  

Implementiert in IMAPConnection.

- (void *) _socket  

- (BOOL) hasBytesAvailable  

- (double) lastUsedTime  


Dokumentation der Datenelemente

- (id<SASLSecurityLayer>) _securityLayer [protected]

Definiert in Zeile 13 der Datei Connection.h.

- (_NSSocket*) _socket [protected]

Definiert in Zeile 14 der Datei Connection.h.

- (char*) _buffer [protected]

Definiert in Zeile 15 der Datei Connection.h.

- (int) _bufferRemainingBytes [protected]

Definiert in Zeile 16 der Datei Connection.h.

- (unsigned int) _bufferStart [protected]

Definiert in Zeile 17 der Datei Connection.h.

- (unsigned int) _bufferLength [protected]

Definiert in Zeile 18 der Datei Connection.h.

- (unsigned int) _desiredBufferLength [protected]

Definiert in Zeile 19 der Datei Connection.h.

- (NSData*) _logData [protected]

Definiert in Zeile 20 der Datei Connection.h.

- (unsigned int) _isFetching [protected]

Definiert in Zeile 21 der Datei Connection.h.

- (unsigned int) _allowFallbacks [protected]

Definiert in Zeile 22 der Datei Connection.h.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: