Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Source/BroadcasterAdminCGI/BroadcasterAdminRequest.h
/* |
File: BroadcasterAdminRequest.h |
Description: This file contains the BroadcasterAdminRequest class interface. The BroadcasterAdminRequest |
class processes a cgi request and generates a response. It communicates with QuickTime |
Broadcaster by opening a connection to the daemon. |
*/ |
#import <Foundation/Foundation.h> |
@interface BroadcasterAdminRequest : NSObject |
{ |
id broadcasterDaemon; |
NSConnection *daemonConnection; |
} |
// setters |
- (void)setDaemonConnection:(NSConnection *)theConnection; |
- (void)setBroadcasterDaemon:(id)theBroadcasterDaemon; |
// methods |
- (void)processRequest:(NSDictionary *)theQuery; |
- (BOOL)makeConnection; |
- (void)handleLaunchRequest:(NSDictionary *)theQueryDictionary withResponse:(NSMutableString *)theResponse; |
- (void)handleSetupRequest:(BOOL)broadcasterConnected withResponse:(NSMutableString *)theResponse; |
- (void)handleBroadcastRequest:(NSDictionary *)theQueryDictionary withResponse:(NSMutableString *)theResponse; |
- (void)handleQuitRequest:(NSMutableString *)theResponse; |
- (void)outputLaunchResponse:(BOOL)errorLaunching withResponse:(NSMutableString *)theResponse; |
- (void)outputSetupResponse:(NSMutableString *)theResponse; |
- (void)outputStatisticsResponse:(NSMutableString *)theResponse; |
- (void)outputWaitResponse:(NSMutableString *)theResponse; |
- (void)outputNotConnectedResponse:(NSMutableString *)theResponse; |
// html generation methods |
- (void)addHeaderToResponse:(NSMutableString *)theResponse; |
- (void)addCloserToResponse:(NSMutableString *)theResponse; |
- (void)addHeaderWithMetaRefreshTagToResponse:(NSMutableString *)theResponse; |
- (void)addPageHeader:(NSString *)theString toResponse:(NSMutableString *)theResponse; |
- (void)addOpenFormToResponse:(NSMutableString *)theResponse; |
- (void)addCloseFormToResponse:(NSMutableString *)theResponse; |
- (void)addOpenTableToResponse:(NSMutableString *)theResponse; |
- (void)addCloseTableToResponse:(NSMutableString *)theResponse; |
- (void)addTableRow:(NSString *)rowTitle withName:(NSString *)theName withList:(NSArray *)theList toResponse:(NSMutableString *)theResponse; |
- (void)addTableRow:(NSString *)rowTitle withString:(NSString *)theString toResponse:(NSMutableString *)theResponse; |
- (void)addTableRow:(NSString *)rowTitle withTextFieldName:(NSString *)name withValue:(NSString *)value toResponse:(NSMutableString *)theResponse; |
- (void)addSubmitButtonWithName:(NSString *)name withValue:(NSString *)value toResponse:(NSMutableString *)theResponse; |
@end |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14