/[svn]/linuxsampler/trunk/src/network/lscpserver.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscpserver.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 527 by capela, Mon May 9 11:59:58 2005 UTC revision 667 by senkov, Sun Jun 19 21:22:34 2005 UTC
# Line 47  Line 47 
47  #include "../common/Condition.h"  #include "../common/Condition.h"
48    
49  /// TCP Port on which the server should listen for connection requests.  /// TCP Port on which the server should listen for connection requests.
50    #define LSCP_ADDR INADDR_ANY
51  #define LSCP_PORT 8888  #define LSCP_PORT 8888
52    
53  /// try up to 3 minutes to bind server socket  /// try up to 3 minutes to bind server socket
# Line 63  extern void restart(yyparse_param_t* ppa Line 64  extern void restart(yyparse_param_t* ppa
64   */   */
65  class LSCPServer : public Thread {  class LSCPServer : public Thread {
66      public:      public:
67          LSCPServer(Sampler* pSampler);          LSCPServer(Sampler* pSampler, long int addr, short int port);
68          virtual ~LSCPServer();          virtual ~LSCPServer();
69          int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);          int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);
70    
# Line 126  class LSCPServer : public Thread { Line 127  class LSCPServer : public Thread {
127          String SetVolume(double dVolume, uint uiSamplerChannel);          String SetVolume(double dVolume, uint uiSamplerChannel);
128          String ResetChannel(uint uiSamplerChannel);          String ResetChannel(uint uiSamplerChannel);
129          String ResetSampler();          String ResetSampler();
130            String GetServerInfo();
131          String SubscribeNotification(LSCPEvent::event_t);          String SubscribeNotification(LSCPEvent::event_t);
132          String UnsubscribeNotification(LSCPEvent::event_t);          String UnsubscribeNotification(LSCPEvent::event_t);
133          String QueryDatabase(String query);          String QueryDatabase(String query);

Legend:
Removed from v.527  
changed lines
  Added in v.667

  ViewVC Help
Powered by ViewVC