|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--springs.communication.Message
Interface to a Springs agent.
Field Summary | |
private java.lang.Object |
_contents
The contents of the message. |
private java.lang.String |
_sender
The sender of the message. |
private java.lang.String |
_subject
The subject of the message. |
private java.lang.String |
_type
The type of the message. |
Constructor Summary | |
Message(java.lang.String type,
java.lang.String sender,
java.lang.String subject,
java.lang.Object contents)
Constructor. |
Method Summary | |
java.lang.Object |
getContents()
Obtains the contents of the message. |
java.lang.String |
getSender()
Obtains the sender of the message. |
java.lang.String |
getSubject()
Obtains the subject of the message. |
java.lang.String |
getType()
Obtains the type of the message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _type
String
private java.lang.String _sender
String
private java.lang.String _subject
String
private java.lang.Object _contents
Object
Constructor Detail |
public Message(java.lang.String type, java.lang.String sender, java.lang.String subject, java.lang.Object contents)
type
- the type of the message.contents
- the contents.String
,
Object
Method Detail |
public java.lang.String getType()
String
public java.lang.Object getContents()
Object
public java.lang.String getSender()
String
public java.lang.String getSubject()
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |