KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > tcm > HydrateContext


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.protocol.tcm;
5
6 import com.tc.async.api.EventContext;
7 import com.tc.async.api.Sink;
8
9 public class HydrateContext implements EventContext {
10
11   private final Sink destSink;
12   private final TCMessage message;
13
14   public HydrateContext(TCMessage message, Sink destSink) {
15     this.message = message;
16     this.destSink = destSink;
17   }
18
19   public Sink getDestSink() {
20     return destSink;
21   }
22
23   public TCMessage getMessage() {
24     return message;
25   }
26 }
27
Popular Tags