uk.org.ownage.dmdirc.parser
Class ProcessJoin

java.lang.Object
  extended by uk.org.ownage.dmdirc.parser.IRCProcessor
      extended by uk.org.ownage.dmdirc.parser.ProcessJoin

public class ProcessJoin
extends IRCProcessor

Process a channel join.


Field Summary
 
Fields inherited from class uk.org.ownage.dmdirc.parser.IRCProcessor
myManager, myParser
 
Constructor Summary
protected ProcessJoin(IRCParser parser, ProcessingManager manager)
          Create a new instance of the IRCProcessor Object
 
Method Summary
protected  boolean callChannelJoin(ChannelInfo cChannel, ChannelClientInfo cChannelClient)
          Callback to all objects implementing the ChannelJoin Callback.
protected  boolean callChannelSelfJoin(ChannelInfo cChannel)
          Callback to all objects implementing the ChannelSelfJoin Callback.
 java.lang.String[] handles()
          What does this IRCProcessor handle.
 void process(java.lang.String sParam, java.lang.String[] token)
          Process a channel join.
 
Methods inherited from class uk.org.ownage.dmdirc.parser.IRCProcessor
callDebugInfo, callDebugInfo, callErrorInfo, getCallbackManager, getChannelInfo, getClientInfo, getLowerName, getName, getSvnInfo, isValidChannelName, sendString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessJoin

protected ProcessJoin(IRCParser parser,
                      ProcessingManager manager)
Create a new instance of the IRCProcessor Object

Parameters:
parser - IRCParser That owns this IRCProcessor
manager - ProcessingManager that is in charge of this IRCProcessor
Method Detail

process

public void process(java.lang.String sParam,
                    java.lang.String[] token)
Process a channel join.

Specified by:
process in class IRCProcessor
Parameters:
sParam - Type of line to process ("JOIN")
token - IRCTokenised line to process

callChannelJoin

protected boolean callChannelJoin(ChannelInfo cChannel,
                                  ChannelClientInfo cChannelClient)
Callback to all objects implementing the ChannelJoin Callback.

Parameters:
cChannel - Channel Object
cChannelClient - ChannelClient object for new person
See Also:
IChannelJoin

callChannelSelfJoin

protected boolean callChannelSelfJoin(ChannelInfo cChannel)
Callback to all objects implementing the ChannelSelfJoin Callback.

Parameters:
cChannel - Channel Object
See Also:
IChannelSelfJoin

handles

public java.lang.String[] handles()
What does this IRCProcessor handle.

Specified by:
handles in class IRCProcessor
Returns:
String[] with the names of the tokens we handle.