code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
//
// 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 "XMPPLogging.h"
#import "XMPPDateTimeProfiles.h"
#import "NSData+XMPP.h"
#import <... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTemp.m | Objective-C | oos | 20,010 |
//
// 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"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc fla... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTempModule.m | Objective-C | oos | 5,600 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTemp.h | Objective-C | oos | 3,750 |
//
// 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 ! __has_feature(objc_arc)
#war... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTempTel.m | Objective-C | oos | 4,061 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTempTel.h | Objective-C | oos | 1,298 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTempEmail.h | Objective-C | oos | 783 |
//
// 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 ! __has_feature(objc_arc)
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/XMPPvCardTempLabel.m | Objective-C | oos | 2,426 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorage.m | Objective-C | oos | 7,182 |
//
// 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;
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorageObject.h | Objective-C | oos | 1,828 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardAvatarCoreDataStorageObject.h | Objective-C | oos | 548 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardTempCoreDataStorageObject.h | Objective-C | oos | 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardAvatarCoreDataStorageObject.m | Objective-C | oos | 322 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorage.h | Objective-C | oos | 1,397 |
//
// 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
| zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardTempCoreDataStorageObject.m | Objective-C | oos | 316 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0054/CoreDataStorage/XMPPvCardCoreDataStorageObject.m | Objective-C | oos | 5,318 |
#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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0065/TURNSocket.h | Objective-C | oos | 1,761 |
#import "TURNSocket.h"
#import "XMPP.h"
#import "XMPPLogging.h"
#import "GCDAsyncSocket.h"
#import "NSData+XMPP.h"
#import "NSNumber+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD objects?
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0065/TURNSocket.m | Objective-C | oos | 43,688 |
#import "XMPPBandwidthMonitor.h"
#import "XMPPLogging.h"
#import "NSXMLElement+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
// Log levels: off, error, warn, info, verbose
#if DEBUG
static const int xmppLogLevel = XMPP_LOG... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/BandwidthMonitor/XMPPBandwidthMonitor.m | Objective-C | oos | 4,205 |
/**
* Simple XMPP module that tracks average bandwidth of the xmpp stream.
*
* For now, this is a really simple module.
* But perhaps in the future, as developers adapt this module,
* they will open source their additions and improvements.
**/
#import <Foundation/Foundation.h>
#import "XMPP.h"
@interface XMPPB... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/BandwidthMonitor/XMPPBandwidthMonitor.h | Objective-C | oos | 450 |
#import <Foundation/Foundation.h>
#import "XMPP.h"
@protocol XMPPResource <NSObject>
@required
- (XMPPJID *)jid;
- (XMPPPresence *)presence;
- (NSDate *)presenceDate;
- (NSComparisonResult)compare:(id <XMPPResource>)another;
@end
| zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/XMPPResource.h | Objective-C | oos | 236 |
#import "XMPP.h"
#import "XMPPElement+Delay.h"
#import "XMPPRosterMemoryStoragePrivate.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@implementation XMPPResourceMemoryStorageObject
- (id)initWithPresence:(XMPPPresence *)aPresen... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPResourceMemoryStorageObject.m | Objective-C | oos | 5,109 |
#import <Foundation/Foundation.h>
#import "XMPPUser.h"
#import "XMPP.h"
#if !TARGET_OS_IPHONE
#import <Cocoa/Cocoa.h>
#endif
@class XMPPResourceMemoryStorageObject;
@interface XMPPUserMemoryStorageObject : NSObject <XMPPUser, NSCopying, NSCoding>
{
XMPPJID *jid;
NSMutableDictionary *itemAttributes;
NSMutable... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPUserMemoryStorageObject.h | Objective-C | oos | 1,712 |
#import "XMPP.h"
#import "XMPPRosterPrivate.h"
#import "XMPPRosterMemoryStorage.h"
#import "XMPPRosterMemoryStoragePrivate.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPRosterMemoryStorage.m | Objective-C | oos | 18,913 |
#import <Foundation/Foundation.h>
#import "XMPPRoster.h"
#import "XMPPUserMemoryStorageObject.h"
#import "XMPPResourceMemoryStorageObject.h"
/**
* This class is an example implementation of the XMPPRosterStorage protocol.
* It simply keeps all roster informatin in memory.
*
* You are free to substitute your own ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPRosterMemoryStorage.h | Objective-C | oos | 4,232 |
#import "XMPPUserMemoryStorageObject.h"
#import "XMPPResourceMemoryStorageObject.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 ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPRosterMemoryStoragePrivate.h | Objective-C | oos | 1,345 |
#import "XMPP.h"
#import "XMPPRosterMemoryStoragePrivate.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@interface XMPPUserMemoryStorageObject (PrivateAPI)
- (void)recalculatePrimaryResource;
@end
////////////////////////////////... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPUserMemoryStorageObject.m | Objective-C | oos | 12,708 |
#import <Foundation/Foundation.h>
#import "XMPPResource.h"
@class XMPPJID;
@class XMPPIQ;
@class XMPPPresence;
@interface XMPPResourceMemoryStorageObject : NSObject <XMPPResource, NSCopying, NSCoding>
{
XMPPJID *jid;
XMPPPresence *presence;
NSDate *presenceDate;
}
/* From the XMPPResource protocol
- (XMPPJID ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/MemoryStorage/XMPPResourceMemoryStorageObject.h | Objective-C | oos | 451 |
#import <Foundation/Foundation.h>
#import "XMPP.h"
@protocol XMPPResource;
@protocol XMPPUser <NSObject>
@required
- (XMPPJID *)jid;
- (NSString *)nickname;
- (BOOL)isOnline;
- (BOOL)isPendingApproval;
- (id <XMPPResource>)primaryResource;
- (id <XMPPResource>)resourceForJID:(XMPPJID *)jid;
- (NSArray *)allResou... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/XMPPUser.h | Objective-C | oos | 332 |
#import <Foundation/Foundation.h>
#if !TARGET_OS_IPHONE
#import <Cocoa/Cocoa.h>
#endif
#import "XMPP.h"
#import "XMPPUser.h"
#import "XMPPResource.h"
@protocol XMPPRosterStorage;
@class DDList;
/**
* The XMPPRoster provides the scaffolding for a roster solution.
* It handles the basics of the xmpp roster commun... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/XMPPRoster.h | Objective-C | oos | 11,352 |
#import <Foundation/Foundation.h>
#import "XMPPRoster.h"
@interface XMPPRoster (PrivateInternalAPI)
/**
* XMPPRosterStorage classes may optionally use the same delegate(s) as their parent XMPPRoster.
* This method allows such storage classes to access the delegate(s).
*
* Note: If the storage class operates on a... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/XMPPRosterPrivate.h | Objective-C | oos | 584 |
#import "XMPPRoster.h"
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPFramework.h"
#import "DDList.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/XMPPRoster.m | Objective-C | oos | 21,826 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPRoster.h"
#import "XMPPCoreDataStorage.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPGroupCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
/**
* This class is an example implementation of XMPPRosterStorage ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.h | Objective-C | oos | 2,420 |
#import "XMPP.h"
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
#import "XMPPGroupCoreDataStorageObject.h"
#import "NSNumber+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPUserCoreDataStorageObject.m | Objective-C | oos | 13,565 |
//
// 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
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPGroupCoreDataStorageObject.h | Objective-C | oos | 704 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPPResource.h"
@class XMPPStream;
@class XMPPPresence;
@class XMPPUserCoreDataStorageObject;
@interface XMPPResourceCoreDataStorageObject : NSManagedObject <XMPPResource>
@property (nonatomic, strong) XMPPJID *jid;
@property (nonatomic, stron... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPResourceCoreDataStorageObject.h | Objective-C | oos | 1,281 |
//
// XMPPGroupCoreDataStorageObject.m
//
// Created by Eric Chamberlain on 3/20/11.
// Copyright (c) 2011 RF.com. All rights reserved.
//
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
#import "XMPPGroupCoreDataStorageObject.h"
#... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPGroupCoreDataStorageObject.m | Objective-C | oos | 4,401 |
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
// Log levels: off,... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPResourceCoreDataStorageObject.m | Objective-C | oos | 5,746 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#if !TARGET_OS_IPHONE
#import <Cocoa/Cocoa.h>
#endif
#import "XMPPUser.h"
#import "XMPP.h"
@class XMPPGroupCoreDataStorageObject;
@class XMPPResourceCoreDataStorageObject;
@interface XMPPUserCoreDataStorageObject : NSManagedObject <XMPPUser>
{
NSIn... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPUserCoreDataStorageObject.h | Objective-C | oos | 2,693 |
#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"
#if ! __has_... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.m | Objective-C | oos | 14,465 |
#import <Foundation/Foundation.h>
#import "XMPP.h"
#define _XMPP_CAPABILITIES_H
@protocol XMPPCapabilitiesStorage;
/**
* This class provides support for capabilities discovery.
*
* It collects our capabilities and publishes them according to the XEP by:
* - Injecting the <c/> element into outgoing presence stan... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/XMPPCapabilities.h | Objective-C | oos | 14,119 |
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPCapabilities.h"
#import "NSData+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD objects?
* It does if the minimum deployment target is ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/XMPPCapabilities.m | Objective-C | oos | 51,387 |
#import <CoreData/CoreData.h>
@class XMPPCapsCoreDataStorageObject;
@interface XMPPCapsResourceCoreDataStorageObject : NSManagedObject
@property (nonatomic, strong) NSString * jidStr;
@property (nonatomic, strong) NSString * streamBareJidStr;
@property (nonatomic, assign) BOOL haveFailed;
@property (nonatomic, str... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/CoreDataStorage/XMPPCapsResourceCoreDataStorageObject.h | Objective-C | oos | 666 |
#import "XMPPCapsCoreDataStorageObject.h"
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@implementation XMPPCapsCoreDataStorageObject
@dynamic capabilities;
@dyn... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/CoreDataStorage/XMPPCapsCoreDataStorageObject.m | Objective-C | oos | 629 |
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPPCapsCoreDataStorageObject.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@implementation XMPPCapsResourceCoreDataStorageObject
@dynamic jidStr;
@dynamic streamBareJ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/CoreDataStorage/XMPPCapsResourceCoreDataStorageObject.m | Objective-C | oos | 619 |
#import "XMPPCapabilitiesCoreDataStorage.h"
#import "XMPPCapsCoreDataStorageObject.h"
#import "XMPPCapsResourceCoreDataStorageObject.h"
#import "XMPP.h"
#import "XMPPCoreDataStorageProtected.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or c... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilitiesCoreDataStorage.m | Objective-C | oos | 17,687 |
#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 ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilitiesCoreDataStorage.h | Objective-C | oos | 1,689 |
#import <CoreData/CoreData.h>
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPCapsResourceCoreDataStorageObject;
@interface XMPPCapsCoreDataStorageObject : NSManagedObject
@property (nonatomic, strong) NSXMLElement *capabilities;
@property (nonatomic, strong) NSString * hashStr;
@property (nonatomic, s... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0115/CoreDataStorage/XMPPCapsCoreDataStorageObject.h | Objective-C | oos | 776 |
#import <Foundation/Foundation.h>
#import "XMPPSASLAuthentication.h"
#import "XMPPStream.h"
#import "XMPPModule.h"
@class XMPPRebindAuthentication;
/**
* Process One has a proprietary module they sell for ejabberd that enables several
* features such as push notifications and fast reconnect.
*
* This file imple... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/ProcessOne/XMPPProcessOne.h | Objective-C | oos | 4,042 |
#import "XMPPProcessOne.h"
#import "XMPP.h"
#import "XMPPInternal.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#if DEBUG
static const i... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/ProcessOne/XMPPProcessOne.m | Objective-C | oos | 11,002 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0153/XMPPvCardAvatarModule.h | Objective-C | oos | 2,311 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0153/XMPPvCardAvatarModule.m | Objective-C | oos | 7,787 |
#import "XMPPMessage+XEP_0224.h"
@implementation XMPPMessage (XEP_0224)
- (BOOL)isHeadLineMessage {
return [[[self attributeForName:@"type"] stringValue] isEqualToString:@"headline"];
}
- (BOOL)isAttentionMessage
{
return [self isHeadLineMessage] && [self elementForName:@"attention" xmlns:XMLNS_ATTENTION];
}
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0224/XMPPMessage+XEP_0224.m | Objective-C | oos | 449 |
#import "XMPPAttentionModule.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@implementation XMPPAttentionModule
- (id)init
{
return [self initWithDispatchQueue:NULL];
}
- (id)initWithDispatchQueue:(dispatch_queue_t)queue
{
if ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0224/XMPPAttentionModule.m | Objective-C | oos | 2,770 |
#import "XMPPModule.h"
#import "XMPPMessage+XEP_0224.h"
@interface XMPPAttentionModule : XMPPModule {
BOOL respondsToQueries;
}
/**
* Whether or not the module should respond to incoming attention request queries.
* It you create multiple instances of this module, only one instance should respond to queries.
*... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0224/XMPPAttentionModule.h | Objective-C | oos | 654 |
#import "XMPPMessage.h"
#define XMLNS_ATTENTION @"urn:xmpp:attention:0"
@interface XMPPMessage (XEP_0224)
- (BOOL)isHeadLineMessage;
- (BOOL)isAttentionMessage;
- (BOOL)isAttentionMessageWithBody;
@end
| zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0224/XMPPMessage+XEP_0224.h | Objective-C | oos | 205 |
#import "XMPP.h"
#import "XMPPLogging.h"
#import "XMPPPrivacy.h"
#import "NSNumber+XMPP.h"
// Log levels: off, error, warn, info, verbose
// Log flags: trace
#ifdef DEBUG
static const int xmppLogLevel = XMPP_LOG_LEVEL_VERBOSE; // | XMPP_LOG_FLAG_TRACE;
#else
static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN;
#en... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0016/XMPPPrivacy.m | Objective-C | oos | 25,381 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPIQ;
extern NSString *const XMPPPrivacyErrorDomain;
typedef enum XMPPPrivacyErrorCode
{
XMPPPrivacyQueryTimeout, // No response from server
XMPPPrivacyDisconnect, // XMPP disconnection
} XMPPPr... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0016/XMPPPrivacy.h | Objective-C | oos | 9,076 |
#import "XMPPPing.h"
#import "XMPPIDTracker.h"
#import "XMPPFramework.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
#define DEFAULT_TIMEOUT 30.0 // seconds
///////////////////////////////////////////////////////////////////////... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0199/XMPPPing.m | Objective-C | oos | 7,393 |
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#import "XMPPPing.h"
#define _XMPP_AUTO_PING_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.
* ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0199/XMPPAutoPing.h | Objective-C | oos | 3,171 |
#import <Foundation/Foundation.h>
#import "XMPP.h"
#define _XMPP_PING_H
@class XMPPIDTracker;
@interface XMPPPing : XMPPModule
{
BOOL respondsToQueries;
XMPPIDTracker *pingTracker;
}
/**
* Whether or not the module should respond to incoming ping queries.
* It you create multiple instances of this module, only... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0199/XMPPPing.h | Objective-C | oos | 1,559 |
#import "XMPPAutoPing.h"
#import "XMPPPing.h"
#import "XMPP.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD objects?
* It does if the minimum deployment target is iOS 6+ ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0199/XMPPAutoPing.m | Objective-C | oos | 9,571 |
//
// XMPPIQ+JabberRPCResonse.h
// XEP-0009
//
// Created by Eric Chamberlain on 5/25/10.
//
#import "XMPPIQ.h"
typedef enum {
JabberRPCElementTypeArray,
JabberRPCElementTypeDictionary,
JabberRPCElementTypeMember,
JabberRPCElementTypeName,
JabberRPCElementTypeInteger,
JabberRPCElementTypeDo... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0009/XMPPIQ+JabberRPCResonse.h | Objective-C | oos | 1,336 |
//
// XMPPIQ+JabberRPC.m
// XEP-0009
//
// Created by Eric Chamberlain on 5/16/10.
//
#import "XMPPIQ+JabberRPC.h"
#import "XMPP.h"
#import "NSData+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@implementation XMPPIQ(J... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0009/XMPPIQ+JabberRPC.m | Objective-C | oos | 6,704 |
//
// 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"
#import "XMPPFramework.h"
#if ! __has_feature(objc_arc)
#warning This file mu... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0009/XMPPJabberRPCModule.m | Objective-C | oos | 9,277 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0009/XMPPJabberRPCModule.h | Objective-C | oos | 1,235 |
//
// XMPPIQ+JabberRPCResonse.m
// XEP-0009
//
// Created by Eric Chamberlain on 5/25/10.
//
#import "XMPPIQ+JabberRPCResonse.h"
#import "XMPPJabberRPCModule.h"
#import "XMPPLogging.h"
#import "NSData+XMPP.h"
#import "NSXMLElement+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0009/XMPPIQ+JabberRPCResonse.m | Objective-C | oos | 7,176 |
//
// 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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0009/XMPPIQ+JabberRPC.h | Objective-C | oos | 2,124 |
//
// XMPPPubSub.h
//
// Created by Duncan Robertson [duncan@whomwah.com]
// Updated by Nadim for Novedia Group - Hubiquitus project[hubiquitus.com]
//
#import <Foundation/Foundation.h>
#import "XMPPModule.h"
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@class XMPPStream;
@class XMPPJID;
@class XMPPIQ;
@class XM... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0060/XMPPPubSub.h | Objective-C | oos | 1,798 |
//
// XMPPPubSub.m
//
// Created by Duncan Robertson [duncan@whomwah.com]
//
#import "XMPPPubSub.h"
#import "XMPPFramework.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
#define NS_PUBSUB @"http://jabber.org/protocol/p... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0060/XMPPPubSub.m | Objective-C | oos | 15,843 |
#import "XMPPRoomOccupantHybridMemoryStorageObject.h"
@implementation XMPPRoomOccupantHybridMemoryStorageObject
{
XMPPPresence *presence;
XMPPJID *jid;
NSDate *createdAt;
XMPPJID *streamFullJid;
}
- (id)initWithPresence:(XMPPPresence *)inPresence streamFullJid:(XMPPJID *)inStreamFullJid
{
NSParameterAssert(inPr... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomOccupantHybridMemoryStorageObject.m | Objective-C | oos | 5,679 |
#import "XMPPRoomHybridStorage.h"
#import "XMPPRoomPrivate.h"
#import "XMPPCoreDataStorageProtected.h"
#import "XMPPElement+Delay.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support suppo... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomHybridStorage.m | Objective-C | oos | 30,999 |
/**
* The XMPPRoomHybridStorage class is designed to be easily extensible.
* The class has several protected methods that act as hooks,
* allowing you to override various methods to customize the functionality how you see fit.
*
* This header file lists the protected methods,
* and you may need to import it in y... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomHybridStorageProtected.h | Objective-C | oos | 3,672 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPP.h"
#import "XMPPRoom.h"
#import "XMPPRoomMessageHybridCoreDataStorageObject.h"
#import "XMPPRoomOccupantHybridMemoryStorageObject.h"
#import "XMPPCoreDataStorage.h"
/**
* This class is an example implementation of the XMPPRoomStorage proto... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomHybridStorage.h | Objective-C | oos | 7,809 |
#import "XMPPRoomMessageHybridCoreDataStorageObject.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@interface XMPPRoomMessageHybridCoreDataStorageObject ()
@property(nonatomic,strong) XMPPJID * primitiveRoomJID;
@property(nonato... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomMessageHybridCoreDataStorageObject.m | Objective-C | oos | 3,238 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPP.h"
#import "XMPPRoom.h"
@interface XMPPRoomMessageHybridCoreDataStorageObject : NSManagedObject <XMPPRoomMessage>
/**
* The properties below are documented in the XMPPRoomMessage protocol.
**/
@property (nonatomic, retain) XMPPMessage *... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomMessageHybridCoreDataStorageObject.h | Objective-C | oos | 1,640 |
#import <Foundation/Foundation.h>
#import "XMPPRoom.h"
#import "XMPPRoomOccupant.h"
@interface XMPPRoomOccupantHybridMemoryStorageObject : NSObject <XMPPRoomOccupant, NSCopying, NSCoding>
- (id)initWithPresence:(XMPPPresence *)presence streamFullJid:(XMPPJID *)streamFullJid;
- (void)updateWithPresence:(XMPPPresence ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/HybridStorage/XMPPRoomOccupantHybridMemoryStorageObject.h | Objective-C | oos | 1,174 |
#import <Foundation/Foundation.h>
#import "XMPPRoom.h"
#import "XMPPRoomOccupant.h"
@interface XMPPRoomOccupantMemoryStorageObject : NSObject <XMPPRoomOccupant, NSCopying, NSCoding>
- (id)initWithPresence:(XMPPPresence *)presence;
- (void)updateWithPresence:(XMPPPresence *)presence;
/**
* The properties below are ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/MemoryStorage/XMPPRoomOccupantMemoryStorageObject.h | Objective-C | oos | 959 |
#import "XMPPRoomMemoryStorage.h"
#import "XMPPRoomPrivate.h"
#import "XMPP.h"
#import "XMPPElement+Delay.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD objects?
* It do... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/MemoryStorage/XMPPRoomMemoryStorage.m | Objective-C | oos | 18,399 |
#import <Foundation/Foundation.h>
#import "XMPPRoom.h"
#import "XMPPRoomOccupant.h"
#import "XMPPRoomMessageMemoryStorageObject.h"
#import "XMPPRoomOccupantMemoryStorageObject.h"
@interface XMPPRoomMemoryStorage : NSObject <XMPPRoomStorage>
- (id)init;
@property (readonly) XMPPRoom *parent;
/**
* You can optiona... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/MemoryStorage/XMPPRoomMemoryStorage.h | Objective-C | oos | 4,871 |
#import <Foundation/Foundation.h>
#import "XMPPRoomMessage.h"
@interface XMPPRoomMessageMemoryStorageObject : NSObject <XMPPRoomMessage, NSCopying, NSCoding>
- (id)initWithIncomingMessage:(XMPPMessage *)message;
- (id)initWithOutgoingMessage:(XMPPMessage *)message jid:(XMPPJID *)myRoomJID;
/**
* The properties be... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/MemoryStorage/XMPPRoomMessageMemoryStorageObject.h | Objective-C | oos | 1,104 |
#import "XMPPRoomOccupantMemoryStorageObject.h"
@implementation XMPPRoomOccupantMemoryStorageObject
{
XMPPPresence *presence;
XMPPJID *jid;
}
- (id)initWithPresence:(XMPPPresence *)inPresence
{
if ((self = [super init]))
{
presence = inPresence;
jid = [inPresence from];
}
return self;
}
//////////////////... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/MemoryStorage/XMPPRoomOccupantMemoryStorageObject.m | Objective-C | oos | 4,493 |
#import "XMPPRoomMessageMemoryStorageObject.h"
#import "XMPP.h"
#import "XMPPElement+Delay.h"
@implementation XMPPRoomMessageMemoryStorageObject
{
XMPPMessage *message;
XMPPJID *jid;
NSDate *localTimestamp;
NSDate *remoteTimestamp;
BOOL isFromMe;
}
- (id)initWithIncomingMessage:(XMPPMessage *)inMessage
{
if ((... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/MemoryStorage/XMPPRoomMessageMemoryStorageObject.m | Objective-C | oos | 4,333 |
#import "XMPP.h"
#import "XMPPRoom.h"
#import "XMPPIDTracker.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 = ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPRoom.m | Objective-C | oos | 29,835 |
#import <Foundation/Foundation.h>
@class XMPPJID;
@class XMPPPresence;
@protocol XMPPRoomOccupant <NSObject>
/**
* Most recent presence message from occupant.
**/
- (XMPPPresence *)presence;
/**
* The MUC room the occupant is associated with.
**/
- (XMPPJID *)roomJID;
/**
* The JID of the occupant as reported ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPRoomOccupant.h | Objective-C | oos | 1,886 |
#import <Foundation/Foundation.h>
#import "XMPP.h"
#import "XMPPRoomMessage.h"
#import "XMPPRoomOccupant.h"
@class XMPPIDTracker;
@protocol XMPPRoomStorage;
@protocol XMPPRoomDelegate;
static NSString *const XMPPMUCNamespace = @"http://jabber.org/protocol/muc";
static NSString *const XMPPMUCUserNamespace = @"ht... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPRoom.h | Objective-C | oos | 10,661 |
#import <Foundation/Foundation.h>
@class XMPPJID;
@class XMPPMessage;
@protocol XMPPRoomMessage <NSObject>
/**
* The raw message that was sent / received.
**/
- (XMPPMessage *)message;
/**
* The JID of the MUC room.
**/
- (XMPPJID *)roomJID;
/**
* Who sent the message.
* A typical MUC room jid is of the form ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPRoomMessage.h | Objective-C | oos | 1,346 |
#import "XMPPRoom.h"
@interface XMPPRoom (PrivateInternalAPI)
/**
* XMPPRoomStorage classes may optionally use the same delegate(s) as their parent XMPPRoom.
* This method allows such storage classes to access the delegate(s).
*
* Note: If the storage class operates on a different queue than its parent,
* ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPRoomPrivate.h | Objective-C | oos | 639 |
#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... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPMessage+XEP0045.m | Objective-C | oos | 433 |
#import "XMPPMUC.h"
#import "XMPPFramework.h"
@implementation XMPPMUC
- (id)initWithDispatchQueue:(dispatch_queue_t)queue
{
if ((self = [super initWithDispatchQueue:queue]))
{
rooms = [[NSMutableSet alloc] init];
}
return self;
}
- (BOOL)activate:(XMPPStream *)aXmppStream
{
if ([super activate:aXmppStream])
... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPMUC.m | Objective-C | oos | 5,648 |
#import <Foundation/Foundation.h>
#import "XMPPMessage.h"
@interface XMPPMessage(XEP0045)
- (BOOL)isGroupChatMessage;
- (BOOL)isGroupChatMessageWithBody;
@end
| zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPMessage+XEP0045.h | Objective-C | oos | 163 |
#import "XMPPRoomCoreDataStorage.h"
#import "XMPPCoreDataStorageProtected.h"
#import "XMPPElement+Delay.h"
#import "XMPPLogging.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD objects?
* It does... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/CoreDataStorage/XMPPRoomCoreDataStorage.m | Objective-C | oos | 28,787 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPP.h"
#import "XMPPRoom.h"
#import "XMPPRoomMessageCoreDataStorageObject.h"
#import "XMPPRoomOccupantCoreDataStorageObject.h"
#import "XMPPCoreDataStorage.h"
@interface XMPPRoomCoreDataStorage : XMPPCoreDataStorage <XMPPRoomStorage>
/**
* C... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/CoreDataStorage/XMPPRoomCoreDataStorage.h | Objective-C | oos | 5,130 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPP.h"
#import "XMPPRoom.h"
@interface XMPPRoomMessageCoreDataStorageObject : NSManagedObject <XMPPRoomMessage>
/**
* The properties below are documented in the XMPPRoomMessage protocol.
**/
@property (nonatomic, retain) XMPPMessage * messa... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/CoreDataStorage/XMPPRoomMessageCoreDataStorageObject.h | Objective-C | oos | 1,636 |
#import "XMPPRoomMessageCoreDataStorageObject.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@interface XMPPRoomMessageCoreDataStorageObject ()
@property(nonatomic,strong) XMPPJID * primitiveRoomJID;
@property(nonatomic,strong) ... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/CoreDataStorage/XMPPRoomMessageCoreDataStorageObject.m | Objective-C | oos | 3,220 |
#import "XMPPRoomOccupantCoreDataStorageObject.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@interface XMPPRoomOccupantCoreDataStorageObject ()
@property(nonatomic,strong) XMPPPresence * primitivePresence;
@property(nonatomic,... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/CoreDataStorage/XMPPRoomOccupantCoreDataStorageObject.m | Objective-C | oos | 5,692 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "XMPP.h"
#import "XMPPRoom.h"
@interface XMPPRoomOccupantCoreDataStorageObject : NSManagedObject <XMPPRoomOccupant>
/**
* The properties below are documented in the XMPPRoomOccupant protocol.
**/
@property (nonatomic, strong) XMPPPresence * p... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/CoreDataStorage/XMPPRoomOccupantCoreDataStorageObject.h | Objective-C | oos | 1,471 |
#import <Foundation/Foundation.h>
#import "XMPP.h"
#import "XMPPRoom.h"
#define _XMPP_MUC_H
/**
* The XMPPMUC module, combined with XMPPRoom and associated storage classes,
* provides an implementation of XEP-0045 Multi-User Chat.
*
* The bulk of the code resides in XMPPRoom, which handles the xmpp technical det... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/XEP-0045/XMPPMUC.h | Objective-C | oos | 1,795 |
#import "XMPPReconnect.h"
#import "XMPPStream.h"
#import "XMPPLogging.h"
#import "NSXMLElement+XMPP.h"
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
/**
* Does ARC support support GCD objects?
* It does if the minimum deployment t... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Reconnect/XMPPReconnect.m | Objective-C | oos | 18,981 |
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import "XMPPModule.h"
#define _XMPP_RECONNECT_H
#define DEFAULT_XMPP_RECONNECT_DELAY 2.0
#define DEFAULT_XMPP_RECONNECT_TIMER_INTERVAL 20.0
@protocol XMPPReconnectDelegate;
/**
* XMPPReconnect handles automatically reconnectin... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/Reconnect/XMPPReconnect.h | Objective-C | oos | 7,613 |
//
// MojoDatabase.m
// MojoDB
//
// Created by Craig Jolicoeur on 10/8/10.
// Copyright 2010 Mojo Tech, LLC. All rights reserved.
//
#import "MojoDatabase.h"
@interface MojoDatabase(PrivateMethods)
-(void)open;
-(void)raiseSqliteException:(NSString *)errorMessage;
-(NSArray *)columnNamesForStatement:(sqlite3_stm... | zwyxmpp-demo | trunk/XMPPDemo/xmpp/Extensions/MojoDatabase/MojoDatabase.m | Objective-C | oos | 10,203 |