org.limitless.nmc.Client
Class MuckConnection.TestListener

java.lang.Object
  extended by org.limitless.nmc.Client.MuckConnection.TestListener
All Implemented Interfaces:
java.util.EventListener, MuLineEvent.Listener
Enclosing class:
MuckConnection

private static class MuckConnection.TestListener
extends java.lang.Object
implements MuLineEvent.Listener


Constructor Summary
MuckConnection.TestListener(MuLineEvent.Source what)
           
 
Method Summary
 void processConnect(MuLineEvent theEvent)
          This is sent on connection to trigger re-inits in listeners (event holds just 'startup' and can be ignored)
 void processDisconnect(MuLineEvent theEvent)
          This event is triggered when a connection is LOST
 void processLoginFails(MuLineEvent theEvent)
          This event occurs when a login fails
 void processPrefixLine(MuLineEvent theEvent)
          This is a prefix line from the MU
 void processReset(MuLineEvent theEvent)
          This is a command that was requested but not sent and therefore will never have data returned from it.
 void processShutdownOfSource(MuLineEvent theEvent)
          This happens when a shutdown() occurs and no further messages will follow.
 void processSuffixLine(MuLineEvent theEvent)
          This is a suffix line from the MU.
 void processTextLine(MuLineEvent theEvent)
          This is given a line of text from the MU that is not a suffix or prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuckConnection.TestListener

public MuckConnection.TestListener(MuLineEvent.Source what)
Method Detail

processLoginFails

public void processLoginFails(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This event occurs when a login fails

Specified by:
processLoginFails in interface MuLineEvent.Listener

processShutdownOfSource

public void processShutdownOfSource(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This happens when a shutdown() occurs and no further messages will follow. This is always the LAST message.

Specified by:
processShutdownOfSource in interface MuLineEvent.Listener

processConnect

public void processConnect(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This is sent on connection to trigger re-inits in listeners (event holds just 'startup' and can be ignored)

Specified by:
processConnect in interface MuLineEvent.Listener

processTextLine

public void processTextLine(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This is given a line of text from the MU that is not a suffix or prefix.

Specified by:
processTextLine in interface MuLineEvent.Listener

processReset

public void processReset(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This is a command that was requested but not sent and therefore will never have data returned from it. This is caused primarily by a lost MU connection

Specified by:
processReset in interface MuLineEvent.Listener

processPrefixLine

public void processPrefixLine(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This is a prefix line from the MU

Specified by:
processPrefixLine in interface MuLineEvent.Listener

processSuffixLine

public void processSuffixLine(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This is a suffix line from the MU.

Specified by:
processSuffixLine in interface MuLineEvent.Listener

processDisconnect

public void processDisconnect(MuLineEvent theEvent)
Description copied from interface: MuLineEvent.Listener
This event is triggered when a connection is LOST

Specified by:
processDisconnect in interface MuLineEvent.Listener


Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.