code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
//
// XMPPSRVResolver.h
//
// Originally created by Eric Chamberlain on 6/15/10.
// Based on SRVResolver by Apple, Inc.
//
#import <Foundation/Foundation.h>
#import <dns_sd.h>
extern NSString *const XMPPSRVResolverErrorDomain;
@interface XMPPSRVResolver : NSObject
{
id delegate;
dispatch_queue_t delegateQue... | 04081337-xmpp | Utilities/XMPPSRVResolver.h | Objective-C | bsd | 2,398 |
/*
File: RFImageToDataTransformer.m
Abstract: A value transformer, which transforms a UIImage or NSImage object into an NSData object.
Based on Apple's UIImageToDataTransformer
Copyright (C) 2010 Apple Inc. All Rights Reserved.
Copyright (C) 2011 RF.com All Rights Reserved.
*/
#import "RFImageToDataTran... | 04081337-xmpp | Utilities/RFImageToDataTransformer.m | Objective-C | bsd | 917 |
#import "GCDMulticastDelegate.h"
#import <libkern/OSAtomic.h>
/**
* How does this class work?
*
* In theory, this class is very straight-forward.
* It provides a way for multiple delegates to be called, each on its own delegate queue.
*
* In other words, any delegate method call to this class
* will get forwa... | 04081337-xmpp | Utilities/GCDMulticastDelegate.m | Objective-C | bsd | 13,953 |
#import <Foundation/Foundation.h>
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@interface NSXMLElement (XMPP)
+ (NSXMLElement *)elementWithName:(NSString *)name xmlns:(NSString *)ns;
- (id)initWithName:(NSString *)name xmlns:(NSString *)ns;
- (NSXMLElement *)elementForName:(NSString *)name;
- (NSXMLElement *)el... | 04081337-xmpp | Categories/NSXMLElement+XMPP.h | Objective-C | bsd | 1,942 |
#import <Foundation/Foundation.h>
@interface NSNumber (XMPP)
+ (NSNumber *)numberWithPtr:(const void *)ptr;
- (id)initWithPtr:(const void *)ptr;
+ (BOOL)parseString:(NSString *)str intoSInt64:(SInt64 *)pNum;
+ (BOOL)parseString:(NSString *)str intoUInt64:(UInt64 *)pNum;
+ (BOOL)parseString:(NSString *)str intoNSIn... | 04081337-xmpp | Categories/NSNumber+XMPP.h | Objective-C | bsd | 733 |
#import "NSXMLElement+XMPP.h"
@implementation NSXMLElement (XMPP)
/**
* Quick method to create an element
**/
+ (NSXMLElement *)elementWithName:(NSString *)name xmlns:(NSString *)ns
{
NSXMLElement *element = [NSXMLElement elementWithName:name];
[element setXmlns:ns];
return element;
}
- (id)initWithName:(NSStrin... | 04081337-xmpp | Categories/NSXMLElement+XMPP.m | Objective-C | bsd | 6,746 |
#import "NSData+XMPP.h"
#import <CommonCrypto/CommonDigest.h>
@implementation NSData (XMPP)
static char encodingTable[64] = {
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
'Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f',
'g','h','i','j','k','l','m','n','o','... | 04081337-xmpp | Categories/NSData+XMPP.m | Objective-C | bsd | 3,856 |
#import <Foundation/Foundation.h>
@interface NSData (XMPP)
- (NSData *)md5Digest;
- (NSData *)sha1Digest;
- (NSString *)hexStringValue;
- (NSString *)base64Encoded;
- (NSData *)base64Decoded;
@end
| 04081337-xmpp | Categories/NSData+XMPP.h | Objective-C | bsd | 203 |
#import "NSNumber+XMPP.h"
@implementation NSNumber (XMPP)
+ (NSNumber *)numberWithPtr:(const void *)ptr
{
return [[[NSNumber alloc] initWithPtr:ptr] autorelease];
}
- (id)initWithPtr:(const void *)ptr
{
return [self initWithLong:(long)ptr];
}
+ (BOOL)parseString:(NSString *)str intoSInt64:(SInt64 *)pNum
{
if(st... | 04081337-xmpp | Categories/NSNumber+XMPP.m | Objective-C | bsd | 2,415 |
#import "XMPPMessage+XEP0045.h"
#import "NSXMLElement+XMPP.h"
@implementation XMPPMessage(XEP0045)
- (BOOL)isGroupChatMessage
{
return [[[self attributeForName:@"type"] stringValue] isEqualToString:@"groupchat"];
}
- (BOOL)isGroupChatMessageWithBody
{
if ([self isGroupChatMessage])
{
NSString *body = [[self el... | 04081337-xmpp | Extensions/XEP-0045/XMPPMessage+XEP0045.m | Objective-C | bsd | 433 |
//
// XMPPRoom
// A chat room. XEP-0045 Implementation.
//
#import <Foundation/Foundation.h>
#import "XMPP.h"
#import "XMPPRoomOccupant.h"
@interface XMPPRoom : XMPPModule
{
NSString *roomName;
NSString *nickName;
NSString *subject;
NSString *invitedUser;
BOOL _isJoined;
NSMutableDictionary *occupants;
}
- (i... | 04081337-xmpp | Extensions/XEP-0045/XMPPRoom.h | Objective-C | bsd | 1,499 |
//
// XMPPRoomOccupant
// A chat room. XEP-0045 Implementation.
//
#import "XMPPRoomOccupant.h"
@implementation XMPPRoomOccupant
+ (XMPPRoomOccupant *)occupantWithJID:(XMPPJID *)aJid nick:(NSString *)aNick role:(NSString *)aRole
{
return [[[XMPPRoomOccupant alloc] initWithJID:aJid nick:aNick role:aRole] autoreleas... | 04081337-xmpp | Extensions/XEP-0045/XMPPRoomOccupant.m | Objective-C | bsd | 1,107 |
//
// XMPPRoomOccupant
// A chat room. XEP-0045 Implementation.
//
#import <Foundation/Foundation.h>
@class XMPPJID;
@interface XMPPRoomOccupant : NSObject
{
XMPPJID *jid;
NSString *nick;
NSString *role;
}
+ (XMPPRoomOccupant *)occupantWithJID:(XMPPJID *)aJid nick:(NSString *)aNick role:(NSString *)aRole;
- (id... | 04081337-xmpp | Extensions/XEP-0045/XMPPRoomOccupant.h | Objective-C | bsd | 512 |
#import "XMPPRoom.h"
#import "XMPPMessage+XEP0045.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
static NSStrin... | 04081337-xmpp | Extensions/XEP-0045/XMPPRoom.m | Objective-C | bsd | 18,217 |
#import <Foundation/Foundation.h>
#import "XMPPMessage.h"
@interface XMPPMessage(XEP0045)
- (BOOL)isGroupChatMessage;
- (BOOL)isGroupChatMessageWithBody;
@end
| 04081337-xmpp | Extensions/XEP-0045/XMPPMessage+XEP0045.h | Objective-C | bsd | 163 |
#import "XMPPTransports.h"
#import "XMPP.h"
@implementation XMPPTransports
@synthesize xmppStream;
- (id)initWithStream:(XMPPStream *)stream
{
if ((self = [super init]))
{
xmppStream = [stream retain];
}
return self;
}
- (void)dealloc
{
[xmppStream release];
[super dealloc];
}
/**
* Registration process
... | 04081337-xmpp | Extensions/XEP-0100/XMPPTransports.m | Objective-C | bsd | 4,580 |
#import <Foundation/Foundation.h>
@class XMPPStream;
@interface XMPPTransports : NSObject
{
XMPPStream *xmppStream;
}
- (id)initWithStream:(XMPPStream *)xmppStream;
@property (nonatomic, readonly) XMPPStream *xmppStream;
- (void)queryGatewayDiscoveryIdentityForLegacyService:(NSString *)service;
- (void)queryGate... | 04081337-xmpp | Extensions/XEP-0100/XMPPTransports.h | Objective-C | bsd | 579 |
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import "XMPPModule.h"
#define DEFAULT_XMPP_RECONNECT_DELAY 2.0
#define DEFAULT_XMPP_RECONNECT_TIMER_INTERVAL 20.0
@protocol XMPPReconnectDelegate;
/**
* XMPPReconnect handles automatically reconnecting to the xmpp server due to... | 04081337-xmpp | Extensions/Reconnect/XMPPReconnect.h | Objective-C | bsd | 7,586 |
#import "XMPPReconnect.h"
#import "XMPPStream.h"
#import "XMPPLogging.h"
#import "NSXMLElement+XMPP.h"
#define IMPOSSIBLE_REACHABILITY_FLAGS 0xFFFFFFFF
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_VERBOSE;
#else
static const int xmppLogLevel = XMPP_LOG_L... | 04081337-xmpp | Extensions/Reconnect/XMPPReconnect.m | Objective-C | bsd | 18,652 |
#import "XMPPElement+Delay.h"
#import "XMPPDateTimeProfiles.h"
#import "NSXMLElement+XMPP.h"
@implementation XMPPElement (XEP0203)
- (BOOL)wasDelayed
{
NSXMLElement *delay;
delay = [self elementForName:@"delay" xmlns:@"urn:xmpp:delay"];
if (delay)
{
return YES;
}
delay = [self elementForName:@"delay" xml... | 04081337-xmpp | Extensions/XEP-0203/XMPPElement+Delay.m | Objective-C | bsd | 1,969 |
#import <Foundation/Foundation.h>
#import "XMPPElement.h"
@interface XMPPElement (XEP0203)
- (BOOL)wasDelayed;
- (NSDate *)delayedDeliveryDate;
@end
| 04081337-xmpp | Extensions/XEP-0203/XMPPElement+Delay.h | Objective-C | bsd | 153 |
#import "XMPPPing.h"
#import "XMPP.h"
#import "XMPPIDTracker.h"
#define DEFAULT_TIMEOUT 30.0 // seconds
#define INTEGRATE_WITH_CAPABILITIES 1
#if INTEGRATE_WITH_CAPABILITIES
#import "XMPPCapabilities.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////... | 04081337-xmpp | Extensions/XEP-0199/XMPPPing.m | Objective-C | bsd | 7,903 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
@class XMPPJID;
@class XMPPStream;
@class XMPPIQ;
@class XMPPIDTracker;
@protocol XMPPPingDelegate;
@interface XMPPPing : XMPPModule
{
BOOL respondsToQueries;
XMPPIDTracker *pingTracker;
}
/**
* Whether or not the module should respond to incoming ping que... | 04081337-xmpp | Extensions/XEP-0199/XMPPPing.h | Objective-C | bsd | 1,621 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#import "XMPPPing.h"
@class XMPPJID;
/**
* The XMPPAutoPing module sends pings on a designated interval to the target.
* The target may simply be the server, or a specific resource.
*
* The module only sends pings as needed.
* If the xmpp stream is receiv... | 04081337-xmpp | Extensions/XEP-0199/XMPPAutoPing.h | Objective-C | bsd | 2,598 |
#import "XMPPAutoPing.h"
#import "XMPPPing.h"
#import "XMPP.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
@interfac... | 04081337-xmpp | Extensions/XEP-0199/XMPPAutoPing.m | Objective-C | bsd | 8,399 |
//
// XMPPStreamFacebook.m
//
// Created by Eric Chamberlain on 10/13/10.
// Copyright 2010 RF.com. All rights reserved.
//
#import "XMPPStreamFacebook.h"
#import "XMPPInternal.h"
#import "XMPPLogging.h"
#import "GCDAsyncSocket.h"
#import "NSData+XMPP.h"
#import "NSXMLElement+XMPP.h"
/**
* Seeing a return stateme... | 04081337-xmpp | Extensions/X-FACEBOOK-PLATFORM/XMPPStreamFacebook.m | Objective-C | bsd | 16,354 |
//
// XMPPStreamFacebook.h
//
// Created by Eric Chamberlain on 10/13/10.
// Copyright 2010 RF.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FBConnect.h"
#import "XMPPStream.h"
@interface XMPPStreamFacebook : XMPPStream <FBRequestDelegate>
{
Facebook *facebook;
FBRequest *facebookRe... | 04081337-xmpp | Extensions/X-FACEBOOK-PLATFORM/XMPPStreamFacebook.h | Objective-C | bsd | 867 |
//
// XMPPPubSub.m
//
// Created by Duncan Robertson [duncan@whomwah.com]
//
#import "XMPPPubSub.h"
#import "XMPP.h"
#define NS_PUBSUB @"http://jabber.org/protocol/pubsub"
#define NS_PUBSUB_EVENT @"http://jabber.org/protocol/pubsub#event"
#define NS_PUBSUB_CONFIG @"http://jabber.org/protocol/pubsub#no... | 04081337-xmpp | Extensions/XEP-0060/XMPPPubSub.m | Objective-C | bsd | 11,615 |
//
// XMPPPubSub.h
//
// Created by Duncan Robertson [duncan@whomwah.com]
//
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
@class XMPPStream;
@class XMPPJID;
@class XMPPIQ;
@class XMPPMessage;
@interface XMPPPubSub : XMPPModule
{
XMPPJID *serviceJID;
}
- (id)initWithServiceJID:(XMPPJID *)aServiceJID;
... | 04081337-xmpp | Extensions/XEP-0060/XMPPPubSub.h | Objective-C | bsd | 1,249 |
#import "XMPPRoster.h"
#import "XMPP.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
enum XMPPRosterFlags
{
kAut... | 04081337-xmpp | Extensions/Roster/XMPPRoster.m | Objective-C | bsd | 16,471 |
#import <Foundation/Foundation.h>
#import "XMPPRoster.h"
@interface XMPPRoster (PrivateInternalAPI)
/**
* The XMPPRosterStorage classes use the same delegate(s) as their parent XMPPRoster.
* This method allows these classes to access the delegate(s).
*
* Note: If the storage class operates on a different queue t... | 04081337-xmpp | Extensions/Roster/XMPPRosterPrivate.h | Objective-C | bsd | 566 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#import "XMPPUser.h"
#import "XMPPResource.h"
#import "XMPPvCardAvatarModule.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPJID;
@class XMPPStream;
@class XMPPPresence;
@protocol XMPPRosterStorage;
@protocol XMPPRosterDelegate;
/**
* Add XMPPR... | 04081337-xmpp | Extensions/Roster/XMPPRoster.h | Objective-C | bsd | 4,458 |
#import "XMPP.h"
#import "XMPPElement+Delay.h"
#import "XMPPRosterMemoryStoragePrivate.h"
@implementation XMPPResourceMemoryStorage
- (id)initWithPresence:(XMPPPresence *)aPresence
{
if((self = [super init]))
{
jid = [[aPresence from] retain];
presence = [aPresence retain];
presenceDate = [[presence delaye... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPResourceMemoryStorage.m | Objective-C | bsd | 5,110 |
#import "XMPP.h"
#import "XMPPRosterPrivate.h"
#import "XMPPRosterMemoryStorage.h"
#import "XMPPRosterMemoryStoragePrivate.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLo... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPRosterMemoryStorage.m | Objective-C | bsd | 16,410 |
#import <Foundation/Foundation.h>
#import "XMPPResource.h"
@class XMPPJID;
@class XMPPIQ;
@class XMPPPresence;
@interface XMPPResourceMemoryStorage : NSObject <XMPPResource, NSCopying, NSCoding>
{
XMPPJID *jid;
XMPPPresence *presence;
NSDate *presenceDate;
}
// See the XMPPResource protocol for available metho... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPResourceMemoryStorage.h | Objective-C | bsd | 330 |
#import "XMPPUserMemoryStorage.h"
#import "XMPPResourceMemoryStorage.h"
/**
* The following methods are designed to be invoked ONLY from
* within the XMPPRosterMemoryStorage implementation.
*
* Warning: XMPPUserMemoryStorage and XMPPResourceMemoryStorage are not explicitly thread-safe.
* Only copies that are no ... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPRosterMemoryStoragePrivate.h | Objective-C | bsd | 948 |
#import <Foundation/Foundation.h>
#import "XMPPUser.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPJID;
@class XMPPPresence;
@class XMPPResourceMemoryStorage;
@interface XMPPUserMemoryStorage : NSObject <XMPPUser, NSCopying, NSCoding>
{
XMPPJID *jid;
NSMutableDictionary *itemAttributes;
#if TARGE... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPUserMemoryStorage.h | Objective-C | bsd | 538 |
#import <Foundation/Foundation.h>
#import "XMPPRoster.h"
@class XMPPUserMemoryStorage;
/**
* This class is an example implementation of XMPPRosterStorage using core data.
* You are free to substitute your own storage class.
**/
@interface XMPPRosterMemoryStorage : NSObject <XMPPRosterStorage>
{
XMPPRoster *parent... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPRosterMemoryStorage.h | Objective-C | bsd | 1,904 |
#import "XMPP.h"
#import "XMPPRosterMemoryStoragePrivate.h"
@interface XMPPUserMemoryStorage (PrivateAPI)
- (void)recalculatePrimaryResource;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark -
//////////////////////////////////... | 04081337-xmpp | Extensions/Roster/MemoryStorage/XMPPUserMemoryStorage.m | Objective-C | bsd | 11,966 |
#import "XMPP.h"
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
#import "XMPPGroupCoreDataStorageObject.h"
#import "NSNumber+XMPP.h"
@interface XMPPUserCoreDataStorageObject ()
@property(nonatomic,retain) XMPPJID *primitiveJid;
@property(n... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPUserCoreDataStorageObject.m | Objective-C | bsd | 12,658 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPUser.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPStream;
@class XMPPGroupCoreDataStorageObject;
@class XMPPResourceCoreDataStorageObject;
@interface XMPPUserCoreDataStorageObject : NSManagedObject <XMPPUser>
{
NSInteger... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPUserCoreDataStorageObject.h | Objective-C | bsd | 2,055 |
//
// XMPPGroupCoreDataStorageObject.m
//
// Created by Eric Chamberlain on 3/20/11.
// Copyright (c) 2011 RF.com. All rights reserved.
//
#import "XMPPGroupCoreDataStorageObject.h"
#import "XMPPUserCoreDataStorageObject.h"
@implementation XMPPGroupCoreDataStorageObject
//////////////////////////////////////////... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPGroupCoreDataStorageObject.m | Objective-C | bsd | 4,374 |
//
// XMPPGroupCoreDataStorageObject.h
//
// Created by Eric Chamberlain on 3/20/11.
// Copyright (c) 2011 RF.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class XMPPUserCoreDataStorageObject;
@interface XMPPGroupCoreDataStorageObject : NSManagedObject {
@private
... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPGroupCoreDataStorageObject.h | Objective-C | bsd | 704 |
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#else
static const int xmppLogLevel = ... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPResourceCoreDataStorageObject.m | Objective-C | bsd | 5,647 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPRoster.h"
#import "XMPPCoreDataStorage.h"
/**
* This class is an example implementation of XMPPRosterStorage using core data.
* You are free to substitute your own roster storage class.
**/
@interface XMPPRosterCoreDataStorage : XMPPCoreD... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.h | Objective-C | bsd | 1,144 |
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPGroupCoreDataStorageObject.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
#import "XMPPRosterPrivate.h"
#import "XMPPCoreDataStorageProtected.h"
#import "XMPP.h"
#import "XMPPLogging.h"
#import "NSNumber+XMPP.h"
// Log level... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.m | Objective-C | bsd | 14,948 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPResource.h"
@class XMPPStream;
@class XMPPPresence;
@class XMPPUserCoreDataStorageObject;
@interface XMPPResourceCoreDataStorageObject : NSManagedObject <XMPPResource>
@property (nonatomic, retain) XMPPJID *jid;
@property (nonatomic, retai... | 04081337-xmpp | Extensions/Roster/CoreDataStorage/XMPPResourceCoreDataStorageObject.h | Objective-C | bsd | 1,222 |
#import <Foundation/Foundation.h>
#if !TARGET_OS_IPHONE
#import <Cocoa/Cocoa.h>
#endif
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPJID;
@class XMPPIQ;
@class XMPPPresence;
@protocol XMPPResource;
@protocol XMPPUser <NSObject>
#if TARGET_OS_IPHONE
@property (nonatomic, retain) UIImage * photo;
#el... | 04081337-xmpp | Extensions/Roster/XMPPUser.h | Objective-C | bsd | 994 |
#import <Foundation/Foundation.h>
@class XMPPJID;
@class XMPPIQ;
@class XMPPPresence;
@protocol XMPPResource <NSObject>
- (XMPPJID *)jid;
- (XMPPPresence *)presence;
- (NSDate *)presenceDate;
- (NSComparisonResult)compare:(id <XMPPResource>)another;
@end
| 04081337-xmpp | Extensions/Roster/XMPPResource.h | Objective-C | bsd | 262 |
//
// XMPPJabberRPCModule.h
// XEP-0009
//
// Originally created by Eric Chamberlain on 5/16/10.
//
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
extern NSString *const XMPPJabberRPCErrorDomain;
@class XMPPJID;
@class XMPPStream;
@class XMPPIQ;
@protocol XMPPJabberRPCModuleDelegate;
@interface XMPPJa... | 04081337-xmpp | Extensions/XEP-0009/XMPPJabberRPCModule.h | Objective-C | bsd | 1,235 |
//
// XMPPIQ+JabberRPCResonse.h
// XEP-0009
//
// Created by Eric Chamberlain on 5/25/10.
//
#import "XMPPIQ.h"
typedef enum {
JabberRPCElementTypeArray,
JabberRPCElementTypeDictionary,
JabberRPCElementTypeMember,
JabberRPCElementTypeName,
JabberRPCElementTypeInteger,
JabberRPCElementTypeDo... | 04081337-xmpp | Extensions/XEP-0009/XMPPIQ+JabberRPCResonse.h | Objective-C | bsd | 1,336 |
//
// XMPPIQ+JabberRPC.h
// XEP-0009
//
// Created by Eric Chamberlain on 5/16/10.
//
#import <Foundation/Foundation.h>
#import "XMPPIQ.h"
@interface XMPPIQ(JabberRPC)
/**
* Creates and returns a new autoreleased XMPPIQ.
* This is the only method you normally need to call.
**/
+ (XMPPIQ *)rpcTo:(XMPPJID *)ji... | 04081337-xmpp | Extensions/XEP-0009/XMPPIQ+JabberRPC.h | Objective-C | bsd | 2,124 |
//
// XMPPIQ+JabberRPCResonse.m
// XEP-0009
//
// Created by Eric Chamberlain on 5/25/10.
//
#import "XMPPIQ+JabberRPCResonse.h"
#import "NSData+XMPP.h"
#import "NSXMLElement+XMPP.h"
#import "XMPPJabberRPCModule.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const in... | 04081337-xmpp | Extensions/XEP-0009/XMPPIQ+JabberRPCResonse.m | Objective-C | bsd | 7,074 |
//
// XMPPJabberRPCModule.m
// XEP-0009
//
// Originally created by Eric Chamberlain on 5/16/10.
//
#import "XMPPJabberRPCModule.h"
#import "XMPP.h"
#import "XMPPIQ+JabberRPC.h"
#import "XMPPIQ+JabberRPCResonse.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
... | 04081337-xmpp | Extensions/XEP-0009/XMPPJabberRPCModule.m | Objective-C | bsd | 8,698 |
//
// XMPPIQ+JabberRPC.m
// XEP-0009
//
// Created by Eric Chamberlain on 5/16/10.
//
#import "XMPPIQ+JabberRPC.h"
#import "NSData+XMPP.h"
#import "XMPP.h"
@implementation XMPPIQ(JabberRPC)
+(XMPPIQ *)rpcTo:(XMPPJID *)jid methodName:(NSString *)method parameters:(NSArray *)parameters {
// Send JabberRPC elemen... | 04081337-xmpp | Extensions/XEP-0009/XMPPIQ+JabberRPC.m | Objective-C | bsd | 6,515 |
//
// XMPPvCardAvatarModule.h
// XEP-0153 vCard-Based Avatars
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// TODO: publish after upload vCard
/*
* XEP-0153 Section 4.2 rule 1
*
* However, a client MUST advertise an image if it has just uploaded the vCard with a n... | 04081337-xmpp | Extensions/XEP-0153/XMPPvCardAvatarModule.m | Objective-C | bsd | 7,911 |
//
// XMPPvCardAvatarModule.h
// XEP-0153 vCard-Based Avatars
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
/*
* NOTE: Currently this implementation only supports downloading and caching avatars.
*/
#import <Foundation/Foundation.h>
#if !TARGET_OS_IPHONE
#impor... | 04081337-xmpp | Extensions/XEP-0153/XMPPvCardAvatarModule.h | Objective-C | bsd | 2,333 |
#import <Foundation/Foundation.h>
#import "NSDate+XMPPDateTimeProfiles.h"
@interface XMPPDateTimeProfiles : NSObject
/**
* The following methods attempt to parse the given string following XEP-0082.
* They return nil if the given string doesn't follow the spec.
**/
+ (NSDate *)parseDate:(NSString *)dateStr;
+ (NSD... | 04081337-xmpp | Extensions/XEP-0082/XMPPDateTimeProfiles.h | Objective-C | bsd | 468 |
#import "XMPPDateTimeProfiles.h"
#import "NSNumber+XMPP.h"
@interface XMPPDateTimeProfiles (PrivateAPI)
+ (NSDate *)parseDateTime:(NSString *)dateTimeStr withMandatoryTimeZone:(BOOL)mandatoryTZ;
@end
@implementation XMPPDateTimeProfiles
/**
* The following acronyms and characters are used from XEP-0082 to represe... | 04081337-xmpp | Extensions/XEP-0082/XMPPDateTimeProfiles.m | Objective-C | bsd | 7,441 |
//
// NSDate+XMPPDateTimeProfiles.h
//
// NSDate category to implement XEP-0082.
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDate(XMPPDateTimeProfiles)
+ (NS... | 04081337-xmpp | Extensions/XEP-0082/NSDate+XMPPDateTimeProfiles.h | Objective-C | bsd | 578 |
//
// NSDate+XMPPDateTimeProfiles.m
//
// NSDate category to implement XEP-0082.
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "NSDate+XMPPDateTimeProfiles.h"
#import "XMPPDateTimeProfiles.h"
@interf... | 04081337-xmpp | Extensions/XEP-0082/NSDate+XMPPDateTimeProfiles.m | Objective-C | bsd | 1,700 |
#import "TURNSocket.h"
#import "XMPP.h"
#import "XMPPLogging.h"
#import "GCDAsyncSocket.h"
#import "NSData+XMPP.h"
#import "NSNumber+XMPP.h"
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = ... | 04081337-xmpp | Extensions/XEP-0065/TURNSocket.m | Objective-C | bsd | 43,467 |
#import <Foundation/Foundation.h>
@class XMPPIQ;
@class XMPPJID;
@class XMPPStream;
@class GCDAsyncSocket;
/**
* TURNSocket is an implementation of XEP-0065: SOCKS5 Bytestreams.
*
* It is used for establishing an out-of-band bytestream between any two XMPP users,
* mainly for the purpose of file transfer.
**/
@in... | 04081337-xmpp | Extensions/XEP-0065/TURNSocket.h | Objective-C | bsd | 1,761 |
//
// XMPPvCardTempAdr.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTempAdr.h"
#import "XMPPLogging.h"
#import <objc/runtime.h>
#if DEBUG
static const int xmppL... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempAdr.m | Objective-C | bsd | 2,856 |
//
// XMPPvCardTempEmail.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMPPvCardTempBase.h"
@interface XMPPvCardTempEmail : XMPPvCardTemp... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempEmail.h | Objective-C | bsd | 770 |
//
// XMPPvCardTemp.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "XMPPIQ.h"
#import "XMPPJID.h"
#impo... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTemp.h | Objective-C | bsd | 3,750 |
//
// XMPPvCardTempEmail.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTempEmail.h"
#import "XMPPLogging.h"
#import <objc/runtime.h>
#if DEBUG
static const int x... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempEmail.m | Objective-C | bsd | 2,659 |
//
// XMPPvCardTemp.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTemp.h"
#import <objc/runtime.h>
#import "XMPPLogging.h"
#import "NSData+XMPP.h"
#import "XMPPDat... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTemp.m | Objective-C | bsd | 20,339 |
//
// XMPPvCardTempBase.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTempBase.h"
#import <objc/runtime.h>
@implementation XMPPvCardTempBase
///////////////////... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempBase.m | Objective-C | bsd | 1,433 |
//
// XMPPvCardTempAdrTypes.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTempAdrTypes.h"
@implementation XMPPvCardTempAdrTypes
#pragma mark -
#pragma mark Gette... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempAdrTypes.m | Objective-C | bsd | 1,722 |
//
// XMPPvCardTempTel.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMPPvCardTempBase.h"
@interface XMPPvCardTempTel : XMPPvCardTempBase... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempTel.h | Objective-C | bsd | 1,247 |
//
// XMPPvCardTempModule.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/17/11.
// Copyright 2011 RF.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#import "XMPPvCardTemp.h"
@class XMPPJID;
@class XMPPStream;
@protocol XMPPvCardTempModuleStorage;
@interfa... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempModule.h | Objective-C | bsd | 3,063 |
//
// XMPPvCardTempTel.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTempTel.h"
#import "XMPPLogging.h"
#import <objc/runtime.h>
#if DEBUG
static const int xmppL... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempTel.m | Objective-C | bsd | 3,928 |
//
// XMPPvCardTempLabel.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMPPvCardTempAdrTypes.h"
@interface XMPPvCardTempLabel : XMPPvCard... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempLabel.h | Objective-C | bsd | 458 |
//
// XMPPvCardCoreDataStorage.h
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPCoreDataStorage.h"
#import "XMPPvCardTempModule.h"
#import "XMPPvCardAvatarModule.h"
/**
* This class is an example impl... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorage.h | Objective-C | bsd | 1,397 |
//
// XMPPvCardCoreDataStorageObject.h
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class XMPPJID;
@class XMPPvCardTemp;
@class XMPPvCardTempCoreDataStorageObject;
@class XMPPvCardAvatarCoreDataStorageObject;
... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorageObject.h | Objective-C | bsd | 1,828 |
//
// XMPPvCardTempCoreDataStorageObject.h
// XEP-0054 vCard-temp
//
// Oringally created by Eric Chamberlain on 3/18/11.
//
// This class is so that we don't load the vCardTemp each time we need to touch the XMPPvCardCoreDataStorageObject.
// The vCardTemp abstraction also makes it easier to eventually add suppor... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardTempCoreDataStorageObject.h | Objective-C | bsd | 687 |
//
// XMPPvCardAvatarCoreDataStorageObject.m
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
#import "XMPPvCardAvatarCoreDataStorageObject.h"
#import "XMPPvCardCoreDataStorageObject.h"
@implementation XMPPvCardAvatarCoreDataStorageObject
@dynamic photoData;
@dynamic vCard;
@en... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardAvatarCoreDataStorageObject.m | Objective-C | bsd | 322 |
//
// XMPPvCardCoreDataStorage.m
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
#import "XMPPvCardCoreDataStorage.h"
#import "XMPPvCardCoreDataStorageObject.h"
#import "XMPPvCardTempCoreDataStorageObject.h"
#import "XMPPvCardAvatarCoreDataStorageObject.h"
#import "XMPP.h"
#import... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorage.m | Objective-C | bsd | 7,118 |
//
// XMPPvCardAvatarCoreDataStorageObject.h
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
// This class is so that we don't load the photoData each time we need to touch the XMPPvCardCoreDataStorageObject.
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardAvatarCoreDataStorageObject.h | Objective-C | bsd | 548 |
//
// XMPPvCardCoreDataStorageObject.m
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
#import "XMPPvCardCoreDataStorageObject.h"
#import "XMPPvCardTempCoreDataStorageObject.h"
#import "XMPPvCardAvatarCoreDataStorageObject.h"
#import "XMPPJID.h"
#import "XMPPStream.h"
#import "NS... | 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorageObject.m | Objective-C | bsd | 5,210 |
//
// XMPPvCardTempCoreDataStorageObject.m
// XEP-0054 vCard-temp
//
// Originally created by Eric Chamberlain on 3/18/11.
//
#import "XMPPvCardTempCoreDataStorageObject.h"
#import "XMPPvCardCoreDataStorageObject.h"
@implementation XMPPvCardTempCoreDataStorageObject
@dynamic vCardTemp;
@dynamic vCard;
@end
| 04081337-xmpp | Extensions/XEP-0054/CoreDataStorage/XMPPvCardTempCoreDataStorageObject.m | Objective-C | bsd | 316 |
//
// XMPPvCardTempLabel.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import "XMPPvCardTempLabel.h"
#import "XMPPLogging.h"
#import <objc/runtime.h>
#if DEBUG
static const int x... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempLabel.m | Objective-C | bsd | 2,311 |
//
// XMPPvCardTempAdr.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMPPvCardTempAdrTypes.h"
@interface XMPPvCardTempAdr : XMPPvCardTemp... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempAdr.h | Objective-C | bsd | 755 |
//
// XMPPvCardTempBase.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NSXMLElement+XMPP.h"
#define XMPP_VCARD_SET_EMPTY_CHILD(Set, Name) ... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempBase.h | Objective-C | bsd | 2,866 |
//
// XMPPvCardTempModule.m
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/17/11.
// Copyright 2011 RF.com. All rights reserved.
//
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPvCardTempModule.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const in... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempModule.m | Objective-C | bsd | 5,465 |
//
// XMPPvCardTempAdrTypes.h
// XEP-0054 vCard-temp
//
// Created by Eric Chamberlain on 3/9/11.
// Copyright 2011 RF.com. All rights reserved.
// Copyright 2010 Martin Morrison. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMPPvCardTempBase.h"
@interface XMPPvCardTempAdrTypes : XMPPvCa... | 04081337-xmpp | Extensions/XEP-0054/XMPPvCardTempAdrTypes.h | Objective-C | bsd | 804 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPIQ;
@class XMPPJID;
@class XMPPStream;
@protocol XMPPCapabilitiesStorage;
@protocol XMPPCapabilitiesDelegate;
/**
* This class provides support for capabilities discovery.
*
* It collects our capab... | 04081337-xmpp | Extensions/XEP-0115/XMPPCapabilities.h | Objective-C | bsd | 14,213 |
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPCapabilities.h"
#import "NSData+XMPP.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_VERBOSE; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#en... | 04081337-xmpp | Extensions/XEP-0115/XMPPCapabilities.m | Objective-C | bsd | 51,240 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPCapabilities.h"
#import "XMPPCoreDataStorage.h"
/**
* This class is an example implementation of XMPPCapabilitiesStorage using core data.
* You are free to substitute your own storage class.
**/
@interface XMPPCapabilitiesCoreDataStorage ... | 04081337-xmpp | Extensions/XEP-0115/CoreDataStorage/XMPPCapabilitiesCoreDataStorage.h | Objective-C | bsd | 1,186 |
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPPCapsCoreDataStorageObject.h"
@implementation XMPPCapsResourceCoreDataStorageObject
@dynamic jidStr;
@dynamic streamBareJidStr;
@dynamic haveFailed;
@dynamic failed;
@dynamic node;
@dynamic ver;
@dynamic ext;
@dynamic hashStr;
@dynamic hashAlgorithm;
... | 04081337-xmpp | Extensions/XEP-0115/CoreDataStorage/XMPPCapsResourceCoreDataStorageObject.m | Objective-C | bsd | 486 |
#import "XMPPCapabilitiesCoreDataStorage.h"
#import "XMPPCapsCoreDataStorageObject.h"
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPP.h"
#import "XMPPCoreDataStorageProtected.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_L... | 04081337-xmpp | Extensions/XEP-0115/CoreDataStorage/XMPPCapabilitiesCoreDataStorage.m | Objective-C | bsd | 17,587 |
#import <CoreData/CoreData.h>
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPCapsResourceCoreDataStorageObject;
@interface XMPPCapsCoreDataStorageObject : NSManagedObject
@property (nonatomic, retain) NSXMLElement *capabilities;
@property (nonatomic, retain) NSString * hashStr;
@property (nonatomic, r... | 04081337-xmpp | Extensions/XEP-0115/CoreDataStorage/XMPPCapsCoreDataStorageObject.h | Objective-C | bsd | 776 |
#import "XMPPCapsCoreDataStorageObject.h"
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPP.h"
@implementation XMPPCapsCoreDataStorageObject
@dynamic capabilities;
@dynamic hashStr;
@dynamic hashAlgorithm;
@dynamic capabilitiesStr;
@dynamic resources;
- (NSXMLElement *)capabilities
{
return [[[NSX... | 04081337-xmpp | Extensions/XEP-0115/CoreDataStorage/XMPPCapsCoreDataStorageObject.m | Objective-C | bsd | 510 |
#import <CoreData/CoreData.h>
@class XMPPCapsCoreDataStorageObject;
@interface XMPPCapsResourceCoreDataStorageObject : NSManagedObject
@property (nonatomic, retain) NSString * jidStr;
@property (nonatomic, retain) NSString * streamBareJidStr;
@property (nonatomic, assign) BOOL haveFailed;
@property (nonatomic, ret... | 04081337-xmpp | Extensions/XEP-0115/CoreDataStorage/XMPPCapsResourceCoreDataStorageObject.h | Objective-C | bsd | 666 |
#import "XMPPTime.h"
#import "XMPP.h"
#import "XMPPIDTracker.h"
#import "XMPPDateTimeProfiles.h"
#define INTEGRATE_WITH_CAPABILITIES 1
#if INTEGRATE_WITH_CAPABILITIES
#import "XMPPCapabilities.h"
#endif
#define DEFAULT_TIMEOUT 30.0 // seconds
//////////////////////////////////////////////////////////////////////... | 04081337-xmpp | Extensions/XEP-0202/XMPPTime.m | Objective-C | bsd | 14,437 |
#import "XMPPAutoTime.h"
#import "XMPP.h"
#import "XMPPLogging.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#endif
@interface XMPPAutoTime ()
@p... | 04081337-xmpp | Extensions/XEP-0202/XMPPAutoTime.m | Objective-C | bsd | 10,555 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPJID;
@class XMPPStream;
@class XMPPIQ;
@class XMPPIDTracker;
@protocol XMPPTimeDelegate;
@interface XMPPTime : XMPPModule
{
BOOL respondsToQueries;
XMPPIDTracker *queryTracker;
}
/**
* Whether or ... | 04081337-xmpp | Extensions/XEP-0202/XMPPTime.h | Objective-C | bsd | 3,209 |
#import "XMPP.h"
#import "XMPPTime.h"
@class XMPPJID;
/**
* The XMPPAutoTime module monitors the time difference between our machine and the target.
* The target may simply be the server, or a specific resource.
*
* The module works by sending time queries to the target, and tracking the responses.
* The module... | 04081337-xmpp | Extensions/XEP-0202/XMPPAutoTime.h | Objective-C | bsd | 3,580 |
#import "XMPPCoreDataStorage.h"
#import "XMPPStream.h"
#import "XMPPInternal.h"
#import "XMPPJID.h"
#import "XMPPLogging.h"
#import "NSNumber+XMPP.h"
#import <objc/runtime.h>
#import <libkern/OSAtomic.h>
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_VERBOSE;... | 04081337-xmpp | Extensions/CoreDataStorage/XMPPCoreDataStorage.m | Objective-C | bsd | 20,820 |