1 4 package com.tc.net.protocol.transport; 5 6 import com.tc.net.core.TCConnection; 7 8 public interface TransportHandshakeMessageFactory { 9 10 public TransportHandshakeMessage createSyn(ConnectionID connectionId, TCConnection source); 11 12 public TransportHandshakeMessage createAck(ConnectionID connectionId, TCConnection source); 13 14 public TransportHandshakeMessage createSynAck(ConnectionID connectionId, TCConnection source, 15 boolean isMaxConnectionsExceeded, int maxConnections); 16 17 public TransportHandshakeMessage createSynAck(ConnectionID connectionId, TransportHandshakeErrorContext errorContext, 18 TCConnection source, boolean isMaxConnectionsExceeded, 19 int maxConnections); 20 } 21 | Popular Tags |