/[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 225 by schoenebeck, Sun Aug 22 14:46:47 2004 UTC revision 360 by senkov, Mon Feb 7 00:19:30 2005 UTC
# Line 47  Line 47 
47  /// TCP Port on which the server should listen for connection requests.  /// TCP Port on which the server should listen for connection requests.
48  #define LSCP_PORT 8888  #define LSCP_PORT 8888
49    
50    /// try up to 3 minutes to bind server socket
51    #define LSCP_SERVER_BIND_TIMEOUT 180
52    
53  using namespace LinuxSampler;  using namespace LinuxSampler;
54    
55  // External references to the main scanner and parser functions  // External references to the main scanner and parser functions
# Line 126  class LSCPServer : public Thread { Line 129  class LSCPServer : public Thread {
129          static std::map<int,String> bufferedCommands;          static std::map<int,String> bufferedCommands;
130    
131          static void SendLSCPNotify( LSCPEvent Event );          static void SendLSCPNotify( LSCPEvent Event );
132            static int EventSubscribers( std::list<LSCPEvent::event_t> events );
133            static void LockRTNotify( void ) { RTNotifyMutex.Lock(); }
134            static void UnlockRTNotify( void ) { RTNotifyMutex.Unlock(); }
135    
136      protected:      protected:
137          int            hSocket;          int            hSocket;
# Line 156  class LSCPServer : public Thread { Line 162  class LSCPServer : public Thread {
162          static Mutex SubscriptionMutex;          static Mutex SubscriptionMutex;
163          static std::map< LSCPEvent::event_t, std::list<int> > eventSubscriptions;          static std::map< LSCPEvent::event_t, std::list<int> > eventSubscriptions;
164          static fd_set fdSet;          static fd_set fdSet;
165    
166            //Protect main thread that generates real time notify messages
167            //like voice count, stream count and buffer fill
168            //from LSCP server removing engines and channels from underneath
169            static Mutex RTNotifyMutex;
170  };  };
171    
172  /**  /**

Legend:
Removed from v.225  
changed lines
  Added in v.360

  ViewVC Help
Powered by ViewVC