pl.edu.pjwstk.yaod.network.protocol
Class ServerReply

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.network.protocol.NetMessage
        |
        +--pl.edu.pjwstk.yaod.network.protocol.ServerReply
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DumpReply, ErrorReply, QueryReply

public class ServerReply
extends NetMessage

Klasa reprezentujaca odpowiedz serwera na zadanie klienta.

Author:
M. Lentner, raist@ertel.com.pl
See Also:
Serialized Form

Constructor Summary
ServerReply(java.lang.String message)
          Tworzy now obiekt odpowiedzi.
 
Method Summary
 java.lang.String getMessage()
          Zwraca komunikat kontrolny odpowiedzi.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerReply

public ServerReply(java.lang.String message)
Tworzy now obiekt odpowiedzi.
Parameters:
message - komunikat dodatkowy (np. 'OK').
Method Detail

getMessage

public java.lang.String getMessage()
Zwraca komunikat kontrolny odpowiedzi.
Returns:
tresc komunikatu.