01: ///////////////////////////////////////////////////////////////////////////////
02: //
03: // Copyright (C) 2003-@year@ by Thomas M. Hazel, MyOODB (www.myoodb.org)
04: //
05: // All Rights Reserved
06: //
07: // This program is free software; you can redistribute it and/or modify
08: // it under the terms of the GNU General Public License and GNU Library
09: // General Public License as published by the Free Software Foundation;
10: // either version 2, or (at your option) any later version.
11: //
12: // This program is distributed in the hope that it will be useful,
13: // but WITHOUT ANY WARRANTY; without even the implied warranty of
14: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: // GNU General Public License and GNU Library General Public License
16: // for more details.
17: //
18: // You should have received a copy of the GNU General Public License
19: // and GNU Library General Public License along with this program; if
20: // not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
21: // MA 02139, USA.
22: //
23: ///////////////////////////////////////////////////////////////////////////////
24:
25: package org.rdesktop.objects;
26:
27: import java.io.*;
28: import java.net.*;
29:
30: import org.rdesktop.server.rdp.*;
31: import org.rdesktop.server.rdp.rdp5.*;
32: import org.rdesktop.server.rdp.crypto.*;
33:
34: public interface RdpDesktopExchange extends StreamExchange {
35: @org.myoodb.MyOodbIndex(value=21)
36: public void connect(String host, int port, String username,
37: String password, int flags, String domain, int width,
38: int height, int bitsPerPixel) throws RdpDesktopException,
39: RdpConnectionException;
40:
41: @org.myoodb.MyOodbIndex(value=22)
42: public void disconnect();
43:
44: @org.myoodb.MyOodbIndex(value=23)
45: public Object[] receive(int type[]) throws RdpDesktopException,
46: IOException, CryptoException, RdpOrderException;
47:
48: @org.myoodb.MyOodbIndex(value=24)
49: public java.util.LinkedList receiveQueue()
50: throws RdpDesktopException, IOException, CryptoException,
51: RdpOrderException;
52:
53: @org.myoodb.MyOodbIndex(value=25)
54: public void sendLogonInfo(int flags, String domain,
55: String username, String password, String command,
56: String directory) throws RdpDesktopException, IOException,
57: CryptoException;
58:
59: @org.myoodb.MyOodbIndex(value=26)
60: public void sendConfirmActive(int rdp_shareid)
61: throws RdpDesktopException, IOException, CryptoException;
62:
63: @org.myoodb.MyOodbIndex(value=27)
64: public void sendSynchronize() throws RdpDesktopException,
65: IOException, CryptoException;
66:
67: @org.myoodb.MyOodbIndex(value=28)
68: public void sendControl(int action) throws RdpDesktopException,
69: IOException, CryptoException;
70:
71: @org.myoodb.MyOodbIndex(value=29)
72: public void sendInput(int time, int message_type, int device_flags,
73: int param1, int param2);
74:
75: @org.myoodb.MyOodbIndex(value=30)
76: public void sendInputQueue(java.util.LinkedList queue);
77:
78: @org.myoodb.MyOodbIndex(value=31)
79: public void sendFonts(int seq) throws RdpDesktopException,
80: IOException, CryptoException;
81: }
|