// Specific Response Handlers //////////////////////////////////////////////////
#pragma mark Response Handlers
-- (void)connectionDidAccept:(NetworkConnection*)cx
-{
- if (!self.attached)
- [connection_ sendCommandWithFormat:@"detach"];
-}
-
- (void)errorEncountered:(NSString*)error
{
[delegate errorEncountered:error];
*/
- (void)handleInitialResponse:(NSXMLDocument*)response
{
+ if (!self.attached) {
+ [connection_ sendCommandWithFormat:@"detach"];
+ return;
+ }
+
active_ = YES;
// Register any breakpoints that exist offline.