Code style cleanup
This commit is contained in:
parent
49fd91b2c7
commit
67795cd928
@ -35,7 +35,15 @@
|
|||||||
|
|
||||||
/** The client has successfully connected to the IRC server. */
|
/** The client has successfully connected to the IRC server. */
|
||||||
@required
|
@required
|
||||||
- (void)connectionSucceeded:(IRCClientSession *)sender;
|
-(void) connectionSucceeded:(IRCClientSession *)session;
|
||||||
|
|
||||||
|
/** The client has disconnected from the IRC server. */
|
||||||
|
@required
|
||||||
|
-(void) disconnected:(IRCClientSession *)session;
|
||||||
|
|
||||||
|
@optional
|
||||||
|
-(void) ping:(NSData *)pingData
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** An IRC client on a channel that this client is connected to has changed nickname,
|
/** An IRC client on a channel that this client is connected to has changed nickname,
|
||||||
* or this IRC client has changed nicknames.
|
* or this IRC client has changed nicknames.
|
||||||
@ -45,7 +53,10 @@
|
|||||||
* @param wasItUs did our nick change, or someone else's?
|
* @param wasItUs did our nick change, or someone else's?
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)nickChangedFrom:(NSData *)oldNick to:(NSData *)newNick own:(BOOL)wasItUs session:(IRCClientSession *)sender;
|
-(void) nickChangedFrom:(NSData *)oldNick
|
||||||
|
to:(NSData *)newNick
|
||||||
|
own:(BOOL)wasItUs
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** An IRC client on a channel that this client is connected to has quit IRC.
|
/** An IRC client on a channel that this client is connected to has quit IRC.
|
||||||
*
|
*
|
||||||
@ -53,7 +64,9 @@
|
|||||||
* @param reason (optional) the quit message, if any.
|
* @param reason (optional) the quit message, if any.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)userQuit:(NSData *)nick withReason:(NSData *)reason session:(IRCClientSession *)sender;
|
-(void) userQuit:(NSData *)nick
|
||||||
|
withReason:(NSData *)reason
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The IRC client has joined (connected) successfully to a new channel. This
|
/** The IRC client has joined (connected) successfully to a new channel. This
|
||||||
* event creates an IRCClientChannel object, which you are expected to assign a
|
* event creates an IRCClientChannel object, which you are expected to assign a
|
||||||
@ -68,14 +81,23 @@
|
|||||||
* @param channel the IRCClientChannel object for the newly joined channel.
|
* @param channel the IRCClientChannel object for the newly joined channel.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)joinedNewChannel:(IRCClientChannel *)channel session:(IRCClientSession *)sender;
|
-(void) joinedNewChannel:(IRCClientChannel *)channel
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The client has changed it's user mode.
|
/** The client has changed its user mode.
|
||||||
*
|
*
|
||||||
* @param mode the new mode.
|
* @param mode the new mode.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)modeSet:(NSData *)mode by:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) modeSet:(NSData *)mode
|
||||||
|
by:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
|
/** The client has received an ERROR message from the server.
|
||||||
|
*/
|
||||||
|
@required
|
||||||
|
-(void) errorReceived:(NSData *)error
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The client has received a private PRIVMSG from another IRC client.
|
/** The client has received a private PRIVMSG from another IRC client.
|
||||||
*
|
*
|
||||||
@ -83,7 +105,9 @@
|
|||||||
* @param nick the other IRC Client that sent the message.
|
* @param nick the other IRC Client that sent the message.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)privateMessageReceived:(NSData *)message fromUser:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) privateMessageReceived:(NSData *)message
|
||||||
|
fromUser:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The client has received a private NOTICE from another client.
|
/** The client has received a private NOTICE from another client.
|
||||||
*
|
*
|
||||||
@ -91,7 +115,9 @@
|
|||||||
* @param nick the nickname of the other IRC client that sent the message.
|
* @param nick the nickname of the other IRC client that sent the message.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)privateNoticeReceived:(NSData *)notice fromUser:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) privateNoticeReceived:(NSData *)notice
|
||||||
|
fromUser:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The client has received a private PRIVMSG from the server.
|
/** The client has received a private PRIVMSG from the server.
|
||||||
*
|
*
|
||||||
@ -99,7 +125,9 @@
|
|||||||
* @param params the parameters of the message
|
* @param params the parameters of the message
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)serverMessageReceivedFrom:(NSData *)origin params:(NSArray *)params session:(IRCClientSession *)sender;
|
-(void) serverMessageReceivedFrom:(NSData *)origin
|
||||||
|
params:(NSArray *)params
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The client has received a private NOTICE from the server.
|
/** The client has received a private NOTICE from the server.
|
||||||
*
|
*
|
||||||
@ -107,7 +135,9 @@
|
|||||||
* @param params the parameters of the notice
|
* @param params the parameters of the notice
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)serverNoticeReceivedFrom:(NSData *)origin params:(NSArray *)params session:(IRCClientSession *)sender;
|
-(void) serverNoticeReceivedFrom:(NSData *)origin
|
||||||
|
params:(NSArray *)params
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** The IRC client has been invited to a channel.
|
/** The IRC client has been invited to a channel.
|
||||||
*
|
*
|
||||||
@ -115,7 +145,9 @@
|
|||||||
* @param nick the nickname of the user that sent the invitation.
|
* @param nick the nickname of the user that sent the invitation.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)invitedToChannel:(NSData *)channelName by:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) invitedToChannel:(NSData *)channelName
|
||||||
|
by:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** A private CTCP request was sent to the IRC client.
|
/** A private CTCP request was sent to the IRC client.
|
||||||
*
|
*
|
||||||
@ -124,7 +156,10 @@
|
|||||||
* @param nick the nickname of the user that sent the request.
|
* @param nick the nickname of the user that sent the request.
|
||||||
*/
|
*/
|
||||||
@optional
|
@optional
|
||||||
- (void)CTCPRequestReceived:(NSData *)request ofType:(NSData *)type fromUser:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) CTCPRequestReceived:(NSData *)request
|
||||||
|
ofType:(NSData *)type
|
||||||
|
fromUser:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** A private CTCP reply was sent to the IRC client.
|
/** A private CTCP reply was sent to the IRC client.
|
||||||
*
|
*
|
||||||
@ -132,7 +167,9 @@
|
|||||||
* @param nick the nickname of the user that sent the reply.
|
* @param nick the nickname of the user that sent the reply.
|
||||||
*/
|
*/
|
||||||
@optional
|
@optional
|
||||||
- (void)CTCPReplyReceived:(NSData *)reply fromUser:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) CTCPReplyReceived:(NSData *)reply
|
||||||
|
fromUser:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** A private CTCP ACTION was sent to the IRC client.
|
/** A private CTCP ACTION was sent to the IRC client.
|
||||||
*
|
*
|
||||||
@ -142,7 +179,9 @@
|
|||||||
* @param nick the nickname of the client that sent the action.
|
* @param nick the nickname of the client that sent the action.
|
||||||
*/
|
*/
|
||||||
@required
|
@required
|
||||||
- (void)privateCTCPActionReceived:(NSData *)action fromUser:(NSData *)nick session:(IRCClientSession *)sender;
|
-(void) privateCTCPActionReceived:(NSData *)action
|
||||||
|
fromUser:(NSData *)nick
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** An unhandled numeric was received from the IRC server
|
/** An unhandled numeric was received from the IRC server
|
||||||
*
|
*
|
||||||
@ -151,7 +190,10 @@
|
|||||||
* @param params an NSArray of NSData objects that are the raw C strings of the event.
|
* @param params an NSArray of NSData objects that are the raw C strings of the event.
|
||||||
*/
|
*/
|
||||||
@optional
|
@optional
|
||||||
- (void)numericEventReceived:(NSUInteger)event from:(NSData *)origin params:(NSArray *)params session:(IRCClientSession *)sender;
|
-(void) numericEventReceived:(NSUInteger)event
|
||||||
|
from:(NSData *)origin
|
||||||
|
params:(NSArray *)params
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
/** An unhandled event was received from the IRC server.
|
/** An unhandled event was received from the IRC server.
|
||||||
*
|
*
|
||||||
@ -160,6 +202,9 @@
|
|||||||
* @param params an NSArray of NSData objects that are the raw C strings of the event.
|
* @param params an NSArray of NSData objects that are the raw C strings of the event.
|
||||||
*/
|
*/
|
||||||
@optional
|
@optional
|
||||||
- (void)unknownEventReceived:(NSData *)event from:(NSData *)origin params:(NSArray *)params session:(IRCClientSession *)sender;
|
-(void) unknownEventReceived:(NSData *)event
|
||||||
|
from:(NSData *)origin
|
||||||
|
params:(NSArray *)params
|
||||||
|
session:(IRCClientSession *)session;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user