net.jetrix.protocols
Class TetrifastProtocol

java.lang.Object
  extended by net.jetrix.protocols.TetrinetProtocol
      extended by net.jetrix.protocols.TetrifastProtocol
All Implemented Interfaces:
Protocol

public class TetrifastProtocol
extends TetrinetProtocol

Protocol to communicate with Tetrifast compatible clients.

Version:
$Revision: 118 $, $Date: 2003-03-01 20:47:46 +0100 (sam., 01 mars 2003) $
Author:
Emmanuel Bourg

Constructor Summary
TetrifastProtocol()
           
 
Method Summary
 String getName()
          Return the name of this protocol
 String translate(NewGameMessage m)
           
 String translate(PlayerNumMessage m)
           
 
Methods inherited from class net.jetrix.protocols.TetrinetProtocol
applyStyle, decode, encode, getEOL, getMessage, getStyles, readLine, toString, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TetrifastProtocol

public TetrifastProtocol()
Method Detail

getName

public String getName()
Description copied from class: TetrinetProtocol
Return the name of this protocol

Specified by:
getName in interface Protocol
Overrides:
getName in class TetrinetProtocol
Returns:
the name of this protocol

translate

public String translate(PlayerNumMessage m)
Overrides:
translate in class TetrinetProtocol

translate

public String translate(NewGameMessage m)
Overrides:
translate in class TetrinetProtocol


Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.