01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.net.protocol.tcm;
06:
07: import com.tc.util.AbstractIdentifier;
08:
09: /**
10: * Identifier for a client session
11: *
12: * @author steve
13: */
14: public class ChannelID extends AbstractIdentifier {
15: /**
16: * Indicates no ID
17: */
18: public static final ChannelID NULL_ID = new ChannelID();
19:
20: /**
21: * Construct with specific id value
22: * @param id ID value
23: */
24: public ChannelID(long id) {
25: super (id);
26: }
27:
28: private ChannelID() {
29: super ();
30: }
31:
32: public String getIdentifierType() {
33: return "ChannelID";
34: }
35: }
|