org.limitless.nmc.Client
Interface MuLineEvent.Listener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
MuckConnection.TestListener, MuConnector
Enclosing class:
MuLineEvent

public static interface MuLineEvent.Listener
extends java.util.EventListener

This describes the methods that will be invoked and given MuLineEvents.

Author:
Brian Jones

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.
 

Method Detail

processTextLine

void processTextLine(MuLineEvent theEvent)
This is given a line of text from the MU that is not a suffix or prefix.


processPrefixLine

void processPrefixLine(MuLineEvent theEvent)
This is a prefix line from the MU


processSuffixLine

void processSuffixLine(MuLineEvent theEvent)
This is a suffix line from the MU.


processReset

void processReset(MuLineEvent theEvent)
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


processConnect

void processConnect(MuLineEvent theEvent)
This is sent on connection to trigger re-inits in listeners (event holds just 'startup' and can be ignored)


processDisconnect

void processDisconnect(MuLineEvent theEvent)
This event is triggered when a connection is LOST


processLoginFails

void processLoginFails(MuLineEvent theEvent)
This event occurs when a login fails


processShutdownOfSource

void processShutdownOfSource(MuLineEvent theEvent)
This happens when a shutdown() occurs and no further messages will follow. This is always the LAST message.



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