|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.sics.tasim.props.Alert
public class Alert
Alert
is used for sending administrative messages to the user
behind external agents. Example of usage is when the agent is using an
unsupported communication protocol with the server. An alert message is then
sent with information about the problem before the connection is terminated.
Warning: serialized objects of this class might not be compatible with future versions. Only use serialization of this class for temporary storage or RMI using the same version of the class.
Constructor Summary | |
---|---|
Alert()
|
|
Alert(int priority,
java.lang.String title,
java.lang.String message)
|
|
Alert(java.lang.String title,
java.lang.String message)
|
Method Summary | |
---|---|
java.lang.String |
getMessage()
|
int |
getPriority()
|
java.lang.String |
getTitle()
|
java.lang.String |
getTransportName()
Returns the transport name used for externalization. |
void |
read(TransportReader reader)
Reads the state for this transportable from the specified reader. |
java.lang.String |
toString()
|
void |
write(TransportWriter writer)
Writes the state for this transportable to the specified writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Alert()
public Alert(java.lang.String title, java.lang.String message)
public Alert(int priority, java.lang.String title, java.lang.String message)
Method Detail |
---|
public int getPriority()
public java.lang.String getTitle()
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTransportName()
getTransportName
in interface Transportable
public void read(TransportReader reader) throws java.text.ParseException
Transportable
read
in interface Transportable
reader
- the reader to read data from
java.text.ParseException
- if a parse error occurspublic void write(TransportWriter writer)
Transportable
write
in interface Transportable
writer
- the writer to write data to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |