Jack2  1.9.9
JackExternalClient.h
1 /*
2 Copyright (C) 2001 Paul Davis
3 Copyright (C) 2004-2008 Grame
4 
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 
19 */
20 
21 #ifndef __JackExternalClient__
22 #define __JackExternalClient__
23 
24 #include "JackClientInterface.h"
25 #include "JackPlatformPlug.h"
26 
27 namespace Jack
28 {
29 
30 struct JackClientControl;
31 
37 {
38 
39  private:
40 
41  JackNotifyChannel fChannel;
42  JackClientControl* fClientControl;
44  public:
45 
47  virtual ~JackExternalClient();
48 
49  int Open(const char* name, int pid, int refnum, int uuid, int* shared_client);
50  int Close();
51 
52  int ClientNotify(int refnum, const char* name, int notify, int sync, const char* message, int value1, int value2);
53 
54  JackClientControl* GetClientControl() const;
55 };
56 
57 
58 } // end of namespace
59 
60 #endif
JackNotifyChannel using sockets.
Server side implementation of library clients.
Client control possibly in shared memory.