1 14 15 package org.quickserver.net.server; 16 21 public class DataType { 22 private String type; 23 24 private DataType(String type) { 25 this.type = type; 26 } 27 28 public String toString() { 29 return type; 30 } 31 32 35 public static final DataType IN = new DataType("Incoming"); 36 39 public static final DataType OUT = new DataType("Outgoing"); 40 } 41 | Popular Tags |