81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
}
@property (copy) OFString *server;
@property (assign) uint16_t port;
@property (copy) OFString *nickname, *username, *realname;
@property (retain) id <IRCConnectionDelegate, OFObject> delegate;
- (void)connect;
- (void)disconnect;
- (void)disconnectWithReason: (OFString*)reason;
- (void)joinChannel: (OFString*)channelName;
- (void)leaveChannel: (IRCChannel*)channel;
- (void)leaveChannel: (IRCChannel*)channel
withReason: (OFString*)reason;
- (void)sendLine: (OFString*)line;
- (void)sendLineWithFormat: (OFConstantString*)line, ...;
- (void)sendMessage: (OFString*)msg
toChannel: (IRCChannel*)channel;
- (void)sendMessage: (OFString*)msg
toUser: (IRCUser*)user;
- (void)sendNotice: (OFString*)notice
toUser: (IRCUser*)user;
- (void)sendNotice: (OFString*)notice
toChannel: (IRCChannel*)channel;
- (void)handleConnection;
@end
|
>
>
<
<
>
>
>
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
}
@property (copy) OFString *server;
@property (assign) uint16_t port;
@property (copy) OFString *nickname, *username, *realname;
@property (retain) id <IRCConnectionDelegate, OFObject> delegate;
- (void)sendLine: (OFString*)line;
- (void)sendLineWithFormat: (OFConstantString*)line, ...;
- (void)connect;
- (void)disconnect;
- (void)disconnectWithReason: (OFString*)reason;
- (void)joinChannel: (OFString*)channelName;
- (void)leaveChannel: (IRCChannel*)channel;
- (void)leaveChannel: (IRCChannel*)channel
withReason: (OFString*)reason;
- (void)sendMessage: (OFString*)msg
toChannel: (IRCChannel*)channel;
- (void)sendMessage: (OFString*)msg
toUser: (IRCUser*)user;
- (void)sendNotice: (OFString*)notice
toUser: (IRCUser*)user;
- (void)sendNotice: (OFString*)notice
toChannel: (IRCChannel*)channel;
- (void)kickUser: (IRCUser*)user
fromChannel: (IRCChannel*)channel
withReason: (OFString*)reason;
- (void)handleConnection;
@end
|