RichFaces Examples Richfaces IRC Client Application 4.2.2.Final

org.ircclient.controller
Class ChatBean

java.lang.Object
  extended by org.jibble.pircbot.PircBot
      extended by org.ircclient.controller.ChatBean
All Implemented Interfaces:
Serializable, org.jibble.pircbot.ReplyConstants

public class ChatBean
extends org.jibble.pircbot.PircBot
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jibble.pircbot.PircBot
VERSION
 
Fields inherited from interface org.jibble.pircbot.ReplyConstants
ERR_ALREADYREGISTRED, ERR_BADCHANMASK, ERR_BADCHANNELKEY, ERR_BANNEDFROMCHAN, ERR_CANNOTSENDTOCHAN, ERR_CANTKILLSERVER, ERR_CHANNELISFULL, ERR_CHANOPRIVSNEEDED, ERR_ERRONEUSNICKNAME, ERR_FILEERROR, ERR_INVITEONLYCHAN, ERR_KEYSET, ERR_NEEDMOREPARAMS, ERR_NICKCOLLISION, ERR_NICKNAMEINUSE, ERR_NOADMININFO, ERR_NOLOGIN, ERR_NOMOTD, ERR_NONICKNAMEGIVEN, ERR_NOOPERHOST, ERR_NOORIGIN, ERR_NOPERMFORHOST, ERR_NOPRIVILEGES, ERR_NORECIPIENT, ERR_NOSERVICEHOST, ERR_NOSUCHCHANNEL, ERR_NOSUCHNICK, ERR_NOSUCHSERVER, ERR_NOTEXTTOSEND, ERR_NOTONCHANNEL, ERR_NOTOPLEVEL, ERR_NOTREGISTERED, ERR_PASSWDMISMATCH, ERR_SUMMONDISABLED, ERR_TOOMANYCHANNELS, ERR_TOOMANYTARGETS, ERR_UMODEUNKNOWNFLAG, ERR_UNKNOWNCOMMAND, ERR_UNKNOWNMODE, ERR_USERNOTINCHANNEL, ERR_USERONCHANNEL, ERR_USERSDISABLED, ERR_USERSDONTMATCH, ERR_WASNOSUCHNICK, ERR_WILDTOPLEVEL, ERR_YOUREBANNEDCREEP, ERR_YOUWILLBEBANNED, RPL_ADMINEMAIL, RPL_ADMINLOC1, RPL_ADMINLOC2, RPL_ADMINME, RPL_AWAY, RPL_BANLIST, RPL_CHANNELMODEIS, RPL_CLOSEEND, RPL_CLOSING, RPL_ENDOFBANLIST, RPL_ENDOFINFO, RPL_ENDOFLINKS, RPL_ENDOFMOTD, RPL_ENDOFNAMES, RPL_ENDOFSERVICES, RPL_ENDOFSTATS, RPL_ENDOFUSERS, RPL_ENDOFWHO, RPL_ENDOFWHOIS, RPL_ENDOFWHOWAS, RPL_INFO, RPL_INFOSTART, RPL_INVITING, RPL_ISON, RPL_KILLDONE, RPL_LINKS, RPL_LIST, RPL_LISTEND, RPL_LISTSTART, RPL_LUSERCHANNELS, RPL_LUSERCLIENT, RPL_LUSERME, RPL_LUSEROP, RPL_LUSERUNKNOWN, RPL_MOTD, RPL_MOTDSTART, RPL_MYPORTIS, RPL_NAMREPLY, RPL_NONE, RPL_NOTOPIC, RPL_NOUSERS, RPL_NOWAWAY, RPL_REHASHING, RPL_SERVICE, RPL_SERVICEINFO, RPL_SERVLIST, RPL_SERVLISTEND, RPL_STATSCLINE, RPL_STATSCOMMANDS, RPL_STATSHLINE, RPL_STATSILINE, RPL_STATSKLINE, RPL_STATSLINKINFO, RPL_STATSLLINE, RPL_STATSNLINE, RPL_STATSOLINE, RPL_STATSQLINE, RPL_STATSUPTIME, RPL_STATSYLINE, RPL_SUMMONING, RPL_TIME, RPL_TOPIC, RPL_TOPICINFO, RPL_TRACECLASS, RPL_TRACECONNECTING, RPL_TRACEHANDSHAKE, RPL_TRACELINK, RPL_TRACELOG, RPL_TRACENEWTYPE, RPL_TRACEOPERATOR, RPL_TRACESERVER, RPL_TRACEUNKNOWN, RPL_TRACEUSER, RPL_UMODEIS, RPL_UNAWAY, RPL_USERHOST, RPL_USERS, RPL_USERSSTART, RPL_VERSION, RPL_WHOISCHANNELS, RPL_WHOISCHANOP, RPL_WHOISIDLE, RPL_WHOISOPERATOR, RPL_WHOISSERVER, RPL_WHOISUSER, RPL_WHOREPLY, RPL_WHOWASUSER, RPL_YOUREOPER
 
Constructor Summary
ChatBean()
           
 
Method Summary
 void changeNick(javax.faces.event.ValueChangeEvent event)
           
 String connect()
           
 String getChannelName()
           
 String getListSubtopic()
           
 String getMessage()
           
 String getMessagesSubtopic()
           
 String getServerName()
           
 String getUserName()
           
 org.jibble.pircbot.User[] getUsers()
           
 String leave()
           
protected  void onJoin(String channel, String sender, String login, String hostname)
           
protected  void onMessage(String channel, String sender, String login, String hostname, String message)
           
protected  void onNickChange(String oldNick, String login, String hostname, String newNick)
           
protected  void onPart(String channel, String sender, String login, String hostname)
           
protected  void onQuit(String sourceNick, String sourceLogin, String sourceHostname, String reason)
           
protected  void onUserList(String channel, org.jibble.pircbot.User[] users)
           
 void send()
           
 void setChannelName(String channelName)
           
 void setMessage(String message)
           
 void setUserName(String userName)
           
 
Methods inherited from class org.jibble.pircbot.PircBot
ban, changeNick, connect, connect, connect, dccAcceptChatRequest, dccReceiveFile, dccSendChatRequest, dccSendFile, deOp, deVoice, disconnect, dispose, equals, getChannels, getEncoding, getFinger, getInetAddress, getLogin, getMaxLineLength, getMessageDelay, getName, getNick, getOutgoingQueueSize, getPassword, getPort, getServer, getUsers, getVersion, handleLine, hashCode, ipToLong, isConnected, joinChannel, joinChannel, kick, kick, listChannels, listChannels, log, longToIp, onAction, onChannelInfo, onConnect, onDccChatRequest, onDccSendRequest, onDeop, onDeVoice, onDisconnect, onFileTransferFinished, onFinger, onIncomingChatRequest, onIncomingFileTransfer, onInvite, onKick, onMode, onNotice, onOp, onPing, onPrivateMessage, onRemoveChannelBan, onRemoveChannelKey, onRemoveChannelLimit, onRemoveInviteOnly, onRemoveModerated, onRemoveNoExternalMessages, onRemovePrivate, onRemoveSecret, onRemoveTopicProtection, onServerPing, onServerResponse, onSetChannelBan, onSetChannelKey, onSetChannelLimit, onSetInviteOnly, onSetModerated, onSetNoExternalMessages, onSetPrivate, onSetSecret, onSetTopicProtection, onTime, onTopic, onTopic, onUnknown, onUserMode, onVersion, onVoice, op, partChannel, partChannel, quitServer, quitServer, reconnect, sendAction, sendCTCPCommand, sendInvite, sendMessage, sendNotice, sendRawLine, sendRawLineViaQueue, setAutoNickChange, setEncoding, setFinger, setLogin, setMessageDelay, setMode, setName, setTopic, setVerbose, setVersion, startIdentServer, toString, unBan, voice
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChatBean

public ChatBean()
Method Detail

connect

public String connect()

leave

public String leave()

getMessagesSubtopic

public String getMessagesSubtopic()

getListSubtopic

public String getListSubtopic()

onMessage

protected void onMessage(String channel,
                         String sender,
                         String login,
                         String hostname,
                         String message)
Overrides:
onMessage in class org.jibble.pircbot.PircBot

onUserList

protected void onUserList(String channel,
                          org.jibble.pircbot.User[] users)
Overrides:
onUserList in class org.jibble.pircbot.PircBot

onJoin

protected void onJoin(String channel,
                      String sender,
                      String login,
                      String hostname)
Overrides:
onJoin in class org.jibble.pircbot.PircBot

onPart

protected void onPart(String channel,
                      String sender,
                      String login,
                      String hostname)
Overrides:
onPart in class org.jibble.pircbot.PircBot

onNickChange

protected void onNickChange(String oldNick,
                            String login,
                            String hostname,
                            String newNick)
Overrides:
onNickChange in class org.jibble.pircbot.PircBot

onQuit

protected void onQuit(String sourceNick,
                      String sourceLogin,
                      String sourceHostname,
                      String reason)
Overrides:
onQuit in class org.jibble.pircbot.PircBot

getUsers

public org.jibble.pircbot.User[] getUsers()

send

public void send()

changeNick

public void changeNick(javax.faces.event.ValueChangeEvent event)

getServerName

public String getServerName()

setUserName

public void setUserName(String userName)

getUserName

public String getUserName()

getChannelName

public String getChannelName()

setChannelName

public void setChannelName(String channelName)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

RichFaces Examples Richfaces IRC Client Application 4.2.2.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.