| java.lang.Object dalma.EndPoint dalma.impl.EndPointImpl dalma.endpoints.irc.IRCEndPoint
IRCEndPoint | public class IRCEndPoint extends EndPointImpl (Code) | | EndPoint that connects to the internet relay chat system.
author: Kohsuke Kawaguchi |
connection | final IRCConnection connection(Code) | | |
IRCEndPoint | public IRCEndPoint(String endpointName, String ircServer, int port, String nickname)(Code) | | Creates a new
IRCEndPoint .
Parameters: endpointName - A unique endpoint name. See EndPoint.getName. Parameters: ircServer - The IP address or the host name of the IRC server to connect to,such as "irc.freenode.net" Parameters: port - The TCP port number to connect to. Normally 6667. Parameters: nickname - The nickname that this endpoint will register to the IRC server. |
getBuddy | public Buddy getBuddy(String nickname)(Code) | | Gets the
Buddy object that represents the given nick name.
This method succeds even if no such user exists.
Parameters: nickname - The IRC nickname of the buddy, like "kohsuke".always non-null. |
getNickName | public String getNickName()(Code) | | Gets the IRC nickname that this endpoint uses.
Normally this is the same as the nick name specified through the constructor,
but if the specified nick name is already taken, we may end up getting a
different nick name.
never null. |
onInvite | void onInvite(InviteCommand cmd)(Code) | | Called when an INVITE command is received from the IRC.
|
onMessageReceived | void onMessageReceived(MessageCommand cmd)(Code) | | Called when a new message is received from IRC.
|
setAway | public void setAway(String status)(Code) | | Sets the away status.
|
setNick | public void setNick(String nickname)(Code) | | Sets the new nick name.
|
start | protected void start()(Code) | | |
stop | protected void stop()(Code) | | |
|
|