This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
src/main/scala/org/codeoverflow/chatoverflow/requirement/service/rcon/impl Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package org.codeoverflow.chatoverflow.requirement.service.rcon.impl
33import org .codeoverflow .chatoverflow .WithLogger
44import org .codeoverflow .chatoverflow .api .io .input .RconInput
55import org .codeoverflow .chatoverflow .registry .Impl
6- import org .codeoverflow .chatoverflow .requirement .InputImpl
6+ import org .codeoverflow .chatoverflow .requirement .impl . InputImpl
77import org .codeoverflow .chatoverflow .requirement .service .rcon .RconConnector
88
99@ Impl (impl = classOf [RconInput ], connector = classOf [RconConnector ])
@@ -16,4 +16,6 @@ class RconInputImpl extends InputImpl[RconConnector] with RconInput with WithLog
1616 * @return true if starting the input was successful, false if some problems occurred
1717 */
1818 override def start (): Boolean = sourceConnector.get.isLoggedIn
19+
20+ override def stop (): Boolean = true
1921}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package org.codeoverflow.chatoverflow.requirement.service.rcon.impl
33import org .codeoverflow .chatoverflow .WithLogger
44import org .codeoverflow .chatoverflow .api .io .output .RconOutput
55import org .codeoverflow .chatoverflow .registry .Impl
6- import org .codeoverflow .chatoverflow .requirement .OutputImpl
6+ import org .codeoverflow .chatoverflow .requirement .impl . OutputImpl
77import org .codeoverflow .chatoverflow .requirement .service .rcon .RconConnector
88
99@ Impl (impl = classOf [RconOutput ], connector = classOf [RconConnector ])
@@ -18,4 +18,11 @@ class RconOutputImpl extends OutputImpl[RconConnector] with RconOutput with With
1818 * @return true if starting the input was successful, false if some problems occurred
1919 */
2020 override def start (): Boolean = sourceConnector.get.isLoggedIn
21+
22+ /**
23+ * Stops the output, called before source connector will shutdown
24+ *
25+ * @return true if stopping was successful
26+ */
27+ override def stop (): Boolean = true
2128}
You can’t perform that action at this time.
0 commit comments