Feature uses features-parent as parent
[groupbasedpolicy.git] / renderers / opflex / src / main / java / org / opendaylight / groupbasedpolicy / renderer / opflex / jsonrpc / RpcMessage.java
1 /*
2  * Copyright (C) 2014 Cisco Systems, Inc.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Thomas Bachman
9  */
10 package org.opendaylight.groupbasedpolicy.renderer.opflex.jsonrpc;
11
12 import com.fasterxml.jackson.databind.JsonNode;
13
14
15 /**
16  * The abstract {@link RpcMessage} is used for creating application
17  * specific RPC messages that can be used by the RPC library. The RPC
18  * library uses these for serialization and deserialization of messages.
19  *
20  * <p>The class provides notifiers for request and response messages,
21  * and provides for sending new requests.
22  *
23  * <p>The class should be used to store the
24  *
25  * @author tbachman
26  */
27 public abstract class RpcMessage {
28
29     public abstract String getName();
30     public abstract void setName(String name);
31     public abstract JsonNode getId();
32     public abstract void setId(JsonNode id);
33     public abstract String getMethod();
34     public abstract void setMethod(String method);
35     public abstract boolean valid();
36 }