1 4 package com.tc.net.protocol.transport; 5 6 public class MessageTransportState { 7 10 public static final MessageTransportState STATE_START = new MessageTransportState("START"); 11 12 public static final MessageTransportState STATE_RESTART = new MessageTransportState("RESTART"); 13 14 17 public static final MessageTransportState STATE_SYN_SENT = new MessageTransportState("SYN_SENT"); 18 27 public static final MessageTransportState STATE_SYN_ACK_ERROR = new MessageTransportState("SYN_ACK_ERROR"); 28 29 32 public static final MessageTransportState STATE_ESTABLISHED = new MessageTransportState("ESTABLISHED"); 33 34 38 public static final MessageTransportState STATE_END = new MessageTransportState("END"); 39 40 private final String name; 41 42 private MessageTransportState(String name) { 43 this.name = name; 44 } 45 46 public String toString() { 47 return this.name; 48 } 49 } | Popular Tags |