Remove ListenerRegistration protobuff messages
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / CloseDataChangeListenerRegistration.java
index f711d6f..8c35caa 100644 (file)
@@ -8,13 +8,9 @@
 
 package org.opendaylight.controller.cluster.datastore.messages;
 
-import org.opendaylight.controller.protobuff.messages.registration.ListenerRegistrationMessages;
+public class CloseDataChangeListenerRegistration {
+    public static final CloseDataChangeListenerRegistration INSTANCE = new CloseDataChangeListenerRegistration();
 
-public class CloseDataChangeListenerRegistration implements SerializableMessage {
-  public static final Class<ListenerRegistrationMessages.CloseDataChangeListenerRegistration> SERIALIZABLE_CLASS =
-          ListenerRegistrationMessages.CloseDataChangeListenerRegistration.class;
-  @Override
-  public Object toSerializable() {
-    return ListenerRegistrationMessages.CloseDataChangeListenerRegistration.newBuilder().build();
-  }
+    private CloseDataChangeListenerRegistration() {
+    }
 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.