1 20 package org.apache.mina.common; 21 22 37 public class IdleStatus { 38 42 public static final IdleStatus READER_IDLE = new IdleStatus("reader idle"); 43 44 47 public static final IdleStatus WRITER_IDLE = new IdleStatus("writer idle"); 48 49 52 public static final IdleStatus BOTH_IDLE = new IdleStatus("both idle"); 53 54 private final String strValue; 55 56 59 private IdleStatus(String strValue) { 60 this.strValue = strValue; 61 } 62 63 71 public String toString() { 72 return strValue; 73 } 74 } | Popular Tags |