2 Copyright 2008 Chris Tallon
4 This file is part of VOMP.
6 VOMP is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 VOMP is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with VOMP; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef VOMPCLIENTRRPROC_H
22 #define VOMPCLIENTRRPROC_H
25 #include "responsepacket.h"
27 #include "serialize.h"
37 RequestPacket(ULONG requestID, ULONG opcode, UCHAR* data, ULONG dataLength)
38 : requestID(requestID), opcode(opcode), data(data), dataLength(dataLength) {}
46 typedef queue<RequestPacket*> RequestPacketQueue;
48 class VompClientRRProc : public Thread
51 VompClientRRProc(VompClient& x);
55 bool recvRequest(RequestPacket*);
59 void sendPacket(SerializeBuffer *b);
61 #ifndef VOMPSTANDALONE
62 int processGetRecordingsList();
63 int processDeleteRecording();
64 int processMoveRecording();
65 int processGetChannelsList();
66 int processStartStreamingChannel();
67 int processGetBlock();
68 int processStopStreaming();
69 int processStartStreamingRecording();
70 int processGetChannelSchedule();
71 int processGetTimers();
72 int processSetTimer();
73 int processPositionFromFrameNumber();
74 int processFrameNumberFromPosition();
75 int processGetIFrame();
76 int processGetRecInfo();
77 int processGetMarks();
78 int processGetChannelPids();
79 int processDeleteTimer();
80 int processReScanRecording(); // FIXME obselete
83 int processConfigSave();
84 int processConfigLoad();
85 int processGetMediaList();
86 int processOpenMedia();
87 int processGetMediaBlock();
88 int processGetMediaInfo();
89 int processCloseMediaChannel();
90 int processGetLanguageList();
91 int processGetLanguageContent();
97 RequestPacketQueue req_queue;