1 4 package com.tc.net.protocol.tcm; 5 6 import com.tc.logging.TCLogger; 7 import com.tc.logging.TCLogging; 8 import com.tc.net.protocol.NetworkStackID; 9 10 15 public class ServerMessageChannelImpl extends AbstractMessageChannel implements ServerMessageChannel { 16 private static final TCLogger logger = TCLogging.getLogger(ServerMessageChannel.class); 17 private final ChannelID sessionID; 18 19 22 protected ServerMessageChannelImpl(ChannelID sessionID, TCMessageRouter router, TCMessageFactory msgFactory) { 23 super(router, logger, msgFactory); 24 this.sessionID = sessionID; 25 26 this.getStatus().open(); 28 } 29 30 public ChannelID getChannelID() { 31 return sessionID; 32 } 33 34 public NetworkStackID open() { 35 throw new UnsupportedOperationException ("Server channels don't support open()"); 36 } 37 38 } | Popular Tags |