106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
+
+
+
+
+
+
+
+
+
+
+
+
|
@try {
[conn connect];
[conn handleConnection];
} @catch (id e) {
of_log(@"%@", e);
}
}
- (void)connection: (XMPPConnection*)conn
didReceiveElement: (OFXMLElement*)element
{
of_log(@"In: %@", element);
}
- (void)connection: (XMPPConnection*)conn
didSendElement: (OFXMLElement*)element
{
of_log(@"Out: %@", element);
}
- (void)connectionWasAuthenticated: (XMPPConnection*)conn
{
of_log(@"Auth successful");
}
- (void)connection: (XMPPConnection*)conn
|