SECC2MPServerInfo.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECC2MPSERVERINFO_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define SECC2MPSERVERINFO_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface SECC2MPServerInfo : PBCodable <NSCopying>
{
NSString *_partition;
NSString *_serviceBuild;
NSString *_serviceInstance;
NSString *_serviceName;
}
@property (nonatomic, readonly) BOOL hasServiceName;
@property (nonatomic, retain) NSString *serviceName;
@property (nonatomic, readonly) BOOL hasPartition;
@property (nonatomic, retain) NSString *partition;
@property (nonatomic, readonly) BOOL hasServiceBuild;
@property (nonatomic, retain) NSString *serviceBuild;
@property (nonatomic, readonly) BOOL hasServiceInstance;
@property (nonatomic, retain) NSString *serviceInstance;
- (void)copyTo:(SECC2MPServerInfo *)other;
- (void)mergeFrom:(SECC2MPServerInfo *)other;
SECC2MPSERVERINFO_FUNCTION BOOL SECC2MPServerInfoReadFrom(__unsafe_unretained SECC2MPServerInfo *self, __unsafe_unretained PBDataReader *reader);
@end