From 6648cd7a532f18b08d76792d21efb18f686d4e95 Mon Sep 17 00:00:00 2001 From: Martin Bobak Date: Wed, 1 Apr 2015 16:17:07 +0200 Subject: [PATCH 1/1] CommonService exposes more methods and parameters Change-Id: I4aefe586b295b762547f3f754f541f533fac23a0 Signed-off-by: Martin Bobak --- .../impl/services/CommonService.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/CommonService.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/CommonService.java index d945dfc634..6ff0b33d63 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/CommonService.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/CommonService.java @@ -32,11 +32,11 @@ public abstract class CommonService { protected static final BigInteger PRIMARY_CONNECTION = new BigInteger("0"); // protected OFRpcTaskContext rpcTaskContext; - protected short version; - protected BigInteger datapathId; - protected RequestContextStack requestContextStack; - protected DeviceContext deviceContext; - private ConnectionAdapter primaryConnectionAdapter; + public short version; + public BigInteger datapathId; + public RequestContextStack requestContextStack; + public DeviceContext deviceContext; + public ConnectionAdapter primaryConnectionAdapter; public CommonService() { } @@ -74,8 +74,8 @@ public abstract class CommonService { return primaryConnectionAdapter; } - Future> handleServiceCall(final BigInteger connectionID, - final Function, Future>> function) { + public Future> handleServiceCall(final BigInteger connectionID, + final Function, Future>> function) { LOG.debug("Calling the FlowMod RPC method on MessageDispatchService"); final RequestContext requestContext = requestContextStack.createRequestContext(); -- 2.36.6