01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object;
06:
07: import com.tc.net.groups.ClientID;
08: import com.tc.net.protocol.tcm.ChannelIDProvider;
09:
10: public class ClientIDProviderImpl implements ClientIDProvider {
11:
12: private final ChannelIDProvider channelIDProvider;
13:
14: public ClientIDProviderImpl(ChannelIDProvider channelIDProvider) {
15: this .channelIDProvider = channelIDProvider;
16: }
17:
18: public ClientID getClientID() {
19: return new ClientID(channelIDProvider.getChannelID());
20: }
21:
22: }
|