1 24 30 31 package org.datashare.objects; 32 33 37 public class ControlServerObject implements java.io.Serializable 38 { 39 43 static final long serialVersionUID = 8498534095840958404L; 44 45 public static final int VERBOSEserviceType = 1; 48 public static final int ONserviceValue = 1; 50 public static final int OFFserviceValue = 2; 51 public static final int TRUEserviceValue = 3; 52 public static final int FALSEserviceValue = 4; 53 54 57 public int serviceType = 0; 58 59 62 public String serviceValueString = ""; 63 64 67 public int serviceValueInt = Integer.MIN_VALUE; 68 69 public ControlServerObject() 70 { 71 } 72 73 public ControlServerObject(int serviceType, String serviceValue) 74 { 75 this.serviceType = serviceType; 76 serviceValueString = serviceValue; 77 } 78 79 public ControlServerObject(int serviceType, int serviceValue) 80 { 81 this.serviceType = serviceType; 82 serviceValueInt = serviceValue; 83 } 84 85 } 86 | Popular Tags |