public class WhiteboardInvitationJabberImpl extends java.lang.Object implements WhiteboardInvitation
Constructor and Description |
---|
WhiteboardInvitationJabberImpl(WhiteboardSession targetWhiteboard,
WhiteboardObject firstWhiteboardObject,
java.lang.String inviter,
java.lang.String reason,
byte[] password)
Creates an invitation for the given targetWhiteboard, from the
given inviter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInviter()
Returns the inviter, who sent this invitation.
|
java.lang.String |
getReason()
Returns the reason of the invitation.
|
WhiteboardSession |
getTargetWhiteboard()
Returns the WhiteboardSession, that this invitation is about.
|
WhiteboardObject |
getWhiteboardInitialObject()
Returns the first white-board object that the inviter would like to
exchange with the user.
|
byte[] |
getWhiteboardPassword()
Returns the password to use in order to join the white-board, that this
invitation is about.
|
public WhiteboardInvitationJabberImpl(WhiteboardSession targetWhiteboard, WhiteboardObject firstWhiteboardObject, java.lang.String inviter, java.lang.String reason, byte[] password)
targetWhiteboard
- the WhiteboardSession for which the
invitation isfirstWhiteboardObject
- the white-board object that inviter send
with this invitation and which will be shown on the white-board if the
user accepts the invitationinviter
- the WhiteboardParticipant, which sent the
invitationreason
- the reason of the invitationpassword
- the password to use to join the given white-boardpublic WhiteboardSession getTargetWhiteboard()
getTargetWhiteboard
in interface WhiteboardInvitation
public java.lang.String getInviter()
getInviter
in interface WhiteboardInvitation
public java.lang.String getReason()
getReason
in interface WhiteboardInvitation
public byte[] getWhiteboardPassword()
getWhiteboardPassword
in interface WhiteboardInvitation
public WhiteboardObject getWhiteboardInitialObject()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.