Added more ignorable files to .gitignore
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / plugin / OvsdbMessage.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
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 : Brent Salisbury, Evan Zeller
9  */
10 package org.opendaylight.ovsdb.plugin;\r
11 \r
12 import java.util.Random;\r
13 \r
14 public class OvsdbMessage {\r
15     String methodName;\r
16     Object[] argument;\r
17     String id;\r
18 \r
19     public OvsdbMessage(String method, Object[] arg){\r
20         this.methodName = method;\r
21         this.argument = arg;\r
22         Random x = new Random();\r
23         this.id = Integer.toString(x.nextInt(10000));\r
24     }\r
25 }\r