added support for copying moves
[fleet.git] / src / de / mud / telnet / socket / StatusPeer.java
1 package de.mud.telnet.socket;
2 /* "In case you would like to use the packages as libraries please
3  *  apply the GNU Library General Public License as documented in the
4  *  file COPYING.LIB." (from Telnet/Documentation/index.html)
5  */
6
7 /**
8  * Status peer interface.
9  * --
10  * $Id: StatusPeer.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
11  * $timestamp: Wed Mar  5 13:40:54 1997 by Matthias L. Jugel :$
12  *
13  * This file is part of "The Java Telnet Applet".
14  *
15  * This is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 2, or (at your option)
18  * any later version.
19  *
20  * "The Java Telnet Applet" is distributed in the hope that it will be 
21  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  * GNU General Public License for more details.
24  * 
25  * You should have received a copy of the GNU General Public License
26  * along with this software; see the file COPYING.  If not, write to the
27  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
28  * Boston, MA 02111-1307, USA.
29  */
30
31 import java.util.Vector;
32
33 /**
34  * StatusPeer -- interface for status messages
35  * --
36  * @version     $Id: StatusPeer.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
37  * @author      Matthias L. Jugel, Marcus Meißner
38  */
39
40 public interface StatusPeer
41 {
42         /**
43          * This method is called for the peer of the TelnetIO class if there is
44          * a statuschange.
45          * @param status A Vector containing the key as element 0 and any arguments
46          *               from element 1 on.
47          * @return an object that matches the requested information or null
48          * @see socket.TelnetIO
49          */
50   public Object notifyStatus(Vector status);
51 }