/[svn]/jlscp/trunk/src/org/linuxsampler/lscp/Client.java
ViewVC logotype

Diff of /jlscp/trunk/src/org/linuxsampler/lscp/Client.java

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

revision 2286 by iliev, Wed Aug 17 09:06:46 2011 UTC revision 2287 by iliev, Wed Nov 23 18:58:46 2011 UTC
# Line 68  import static org.linuxsampler.lscp.Pars Line 68  import static org.linuxsampler.lscp.Pars
68   * @author  Grigor Iliev   * @author  Grigor Iliev
69   */   */
70  public class Client {  public class Client {
71            public static final String VERSION = "0.8";
72            public static final String PROTOCOL_VERSION = "1.4";
73          private String address;          private String address;
74          private int port;          private int port;
75          private Socket sock = null;          private Socket sock = null;
# Line 282  public class Client { Line 284  public class Client {
284           * @return The jlscp version.           * @return The jlscp version.
285           */           */
286          public static String          public static String
287          getClientVersion() {          getClientVersion() { return VERSION; }
288                  return Package.getPackage("org.linuxsampler.lscp").getImplementationVersion();          
289          }          /**
290             * Gets the LSCP protocol version supported by this client.
291             */
292            public static String
293            getProtocolVersion() { return PROTOCOL_VERSION; }
294                    
295          /**          /**
296           * Gets the Linux Sampler address.           * Gets the Linux Sampler address.
# Line 367  public class Client { Line 373  public class Client {
373                          );                          );
374                  }                  }
375                                    
376                  String s = Package.getPackage("org.linuxsampler.lscp").getSpecificationVersion();                  String s = getProtocolVersion();
377                  String s2, sv, sv2;                  String s2, sv, sv2;
378                                    
379                  try {                  try {

Legend:
Removed from v.2286  
changed lines
  Added in v.2287

  ViewVC Help
Powered by ViewVC