From 3f92b43ce9f6d71e2324d2cf826d44918b09fba1 Mon Sep 17 00:00:00 2001 From: Sumeet Phadnis Date: Tue, 21 Jan 2020 11:20:22 +0530 Subject: [PATCH] New method to get the JChannel initiated by ReplicatedSpace --- .../rspace/src/main/java/org/jpos/space/ReplicatedSpace.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/rspace/src/main/java/org/jpos/space/ReplicatedSpace.java b/modules/rspace/src/main/java/org/jpos/space/ReplicatedSpace.java index 8b94004c2c..502c3a5b76 100644 --- a/modules/rspace/src/main/java/org/jpos/space/ReplicatedSpace.java +++ b/modules/rspace/src/main/java/org/jpos/space/ReplicatedSpace.java @@ -622,5 +622,9 @@ public synchronized Object nrd (Object key, long timeout) { } return obj; } + + public JChannel getChannel() { + return channel; + } }