01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.net.protocol.tcm;
05:
06: import com.tc.async.api.EventContext;
07: import com.tc.async.api.Sink;
08:
09: 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: }
|