01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.l2.msg;
05:
06: import com.tc.net.groups.GroupMessage;
07:
08: public class ObjectSyncResetMessageFactory {
09:
10: public static GroupMessage createObjectSyncResetRequestMessage() {
11: return new ObjectSyncResetMessage(
12: ObjectSyncResetMessage.REQUEST_RESET);
13: }
14:
15: public static GroupMessage createOKResponse(
16: ObjectSyncResetMessage msg) {
17: return new ObjectSyncResetMessage(
18: ObjectSyncResetMessage.OPERATION_SUCCESS, msg
19: .getMessageID());
20: }
21:
22: }
|