|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--pawn.messages.InitiateChatResponseMessage
An abstract class defining a response to a request to begin a chat session. This response is responsible for sending a pipe advertisement in response to a Initiate Chat Request Message to allow a remote peer to begin chatting with the local peer.
| Constructor Summary | |
InitiateChatResponseMessage()
|
|
| Method Summary | |
abstract net.jxta.document.Document |
getDocument(net.jxta.document.MimeMediaType asMimeType)
Returns a Document object containing the response's document tree. |
java.lang.String |
getEmailAddress()
Retrieve the email address of the user associated with the local peer. |
java.lang.String |
getName()
Retrieve the display name of the user associated with the local peer. |
net.jxta.protocol.PipeAdvertisement |
getPipeAdvertisement()
Returns the pipe advertisement object a remote peer can use to initiate the chat session. |
void |
setEmailAddress(java.lang.String emailAddress)
Sets the email address of the user associated with the local peer. |
void |
setName(java.lang.String name)
Sets the display name of the user associated with the local peer. |
void |
setPipeAdvertisement(net.jxta.protocol.PipeAdvertisement pipeAdvertisement)
Sets the pipe advertisement object a remote peer can use to initiate the chat session. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InitiateChatResponseMessage()
| Method Detail |
public abstract net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType)
asMimeType - the desired MIME type for the response rendering.
public java.lang.String getEmailAddress()
public java.lang.String getName()
public net.jxta.protocol.PipeAdvertisement getPipeAdvertisement()
public void setEmailAddress(java.lang.String emailAddress)
emailAddress - the email address used to identify the user.public void setName(java.lang.String name)
name - the display name used to identify the user during the chat session.public void setPipeAdvertisement(net.jxta.protocol.PipeAdvertisement pipeAdvertisement)
pipeAdvertisement - the pipe advertisement to use for setting up the chat session.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||