|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.sip.DesktopSharingProtocolSipImpl
public class DesktopSharingProtocolSipImpl
Utility class to provide XML definition for the desktop sharing SIP event package.
| Field Summary | |
|---|---|
static String |
CONTENT_SUB_TYPE
The content sub-type of the content supported in NOTIFY requests handled by OperationSetDesktopSharingSipImpl. |
static String |
EVENT_PACKAGE
The name of the event package supported by OperationSetDesktopSharingServerSipImpl in SUBSCRIBE and NOTIFY requests. |
static int |
REFRESH_MARGIN
The time in seconds before the expiration of a Subscription at which the OperationSetDesktopSharingServerSipImpl instance managing it should refresh it. |
static int |
SUBSCRIPTION_DURATION
The time in seconds after which a Subscription should be expired by the OperationSetDesktopSharingServerSipImpl instance which manages it. |
| Constructor Summary | |
|---|---|
DesktopSharingProtocolSipImpl()
|
|
| Method Summary | |
|---|---|
static String |
getKeyPressedXML(int keycode)
Build a remote-info key-press SIP NOTIFY message. |
static String |
getKeyReleasedXML(int keycode)
Build a remote-info key-release SIP NOTIFY message. |
static String |
getKeyTypedXML(int keycode)
Build a remote-info key-typed SIP NOTIFY message. |
static String |
getMouseMovedXML(double x,
double y)
Build a remote-info mouse-move SIP NOTIFY message. |
static String |
getMousePressedXML(int btns)
Build a remote-info mouse-press SIP NOTIFY message. |
static String |
getMouseReleasedXML(int btns)
Build a remote-info mouse-release SIP NOTIFY message. |
static String |
getMouseWheelXML(int notch)
Build a remote-info mouse-wheel SIP NOTIFY message. |
static List<ComponentEvent> |
parse(Element root,
Dimension size,
Point origin)
Parses an XML element and returns a list of all MouseEvent and KeyEvent found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EVENT_PACKAGE
public static final int REFRESH_MARGIN
public static final int SUBSCRIPTION_DURATION
public static final String CONTENT_SUB_TYPE
| Constructor Detail |
|---|
public DesktopSharingProtocolSipImpl()
| Method Detail |
|---|
public static String getKeyPressedXML(int keycode)
keycode - keyboard's code
public static String getKeyReleasedXML(int keycode)
keycode - keyboard's code
public static String getKeyTypedXML(int keycode)
keycode - keyboard's code
public static String getMousePressedXML(int btns)
btns - button mask
public static String getMouseReleasedXML(int btns)
btns - button mask
public static String getMouseMovedXML(double x,
double y)
x - x position of the mousey - y position of the mouse
public static String getMouseWheelXML(int notch)
notch - wheel notch
public static List<ComponentEvent> parse(Element root,
Dimension size,
Point origin)
root - XML root elementsize - size of the video (used to have right (x,y) for MouseMoved
and MouseDraggedorigin - origin coordinate (upper left corner)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||