forked from EFEducationFirstMobile/librabbitmq-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AMQP+Private.h
46 lines (37 loc) · 1.12 KB
/
AMQP+Private.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// AMQPPrivate.h
// AMQPKit
//
// Created by Andrew Mackenzie-Ross on 3/02/2015.
// Copyright (c) 2015 librabbitmq. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AMQPChannel.h"
#import "LAMQPConnection.h"
#import "AMQPConsumer.h"
#import "AMQPQueue.h"
#import "AMQPExchange.h"
@class AMQPConnection;
@interface AMQPChannel ()
@property (assign, readwrite) amqp_channel_t internalChannel;
- (NSError *)openChannel:(amqp_channel_t)channel onConnection:(AMQPConnection *)connection;
@end
@interface LAMQPConnection ()
@property (assign, readwrite) amqp_connection_state_t internalConnection;
- (void)checkLastOperation:(NSString *)context;
@end
@interface AMQPConsumer ()
@property (assign, readwrite) amqp_bytes_t internalConsumer;
@end
@interface AMQPQueue ()
@property (assign, readwrite) amqp_bytes_t internalQueue;
@end
@interface AMQPExchange ()
@property (assign, readonly) amqp_bytes_t internalExchange;
@end
@interface AMQPMaybe : NSObject
+ (instancetype)error:(NSError *)error;
+ (instancetype)value:(id)value;
@property (nonatomic, readonly) id value;
@property (nonatomic, readonly) NSError *error;
@end