|
|
@ -13,7 +13,7 @@
|
|
|
|
BOOL wrtReachable;
|
|
|
|
BOOL wrtReachable;
|
|
|
|
@private
|
|
|
|
@private
|
|
|
|
NSString *hostname;
|
|
|
|
NSString *hostname;
|
|
|
|
NSInteger *port;
|
|
|
|
int port;
|
|
|
|
NSString *username;
|
|
|
|
NSString *username;
|
|
|
|
NSString *password;
|
|
|
|
NSString *password;
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
//SEL errorCallback;
|
|
|
|
//SEL errorCallback;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (id) initWithHostname:(NSString*)new_hostname port:(NSInteger*)new_port username:(NSString*)new_username password:(NSString*)new_password;
|
|
|
|
- (id) initWithHostname:(NSString*)new_hostname port:(int)new_port username:(NSString*)new_username password:(NSString*)new_password;
|
|
|
|
|
|
|
|
|
|
|
|
- (NSMutableURLRequest*) buildRequest:(NSString*)uri;
|
|
|
|
- (NSMutableURLRequest*) buildRequest:(NSString*)uri;
|
|
|
|
- (NSMutableURLRequest*) requestForBandwidthViewerForInterface:(NSString*)interface;
|
|
|
|
- (NSMutableURLRequest*) requestForBandwidthViewerForInterface:(NSString*)interface;
|
|
|
@ -35,8 +35,8 @@
|
|
|
|
- (NSString*) getHostname;
|
|
|
|
- (NSString*) getHostname;
|
|
|
|
- (void) setHostname:(NSString*)new_hostname;
|
|
|
|
- (void) setHostname:(NSString*)new_hostname;
|
|
|
|
|
|
|
|
|
|
|
|
- (NSInteger*) getPort;
|
|
|
|
- (int) getPort;
|
|
|
|
- (void) setPort:(NSInteger*)new_port;
|
|
|
|
- (void) setPort:(int)new_port;
|
|
|
|
|
|
|
|
|
|
|
|
- (NSString*) getUsername;
|
|
|
|
- (NSString*) getUsername;
|
|
|
|
- (void) setUsername:(NSString*)new_username;
|
|
|
|
- (void) setUsername:(NSString*)new_username;
|
|
|
|