This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree 2 files changed +11
-2
lines changed
src/main/scala/org/codeoverflow/chatoverflow/requirement/service/rcon/impl
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
3
3
import org .codeoverflow .chatoverflow .WithLogger
4
4
import org .codeoverflow .chatoverflow .api .io .input .RconInput
5
5
import org .codeoverflow .chatoverflow .registry .Impl
6
- import org .codeoverflow .chatoverflow .requirement .InputImpl
6
+ import org .codeoverflow .chatoverflow .requirement .impl . InputImpl
7
7
import org .codeoverflow .chatoverflow .requirement .service .rcon .RconConnector
8
8
9
9
@ Impl (impl = classOf [RconInput ], connector = classOf [RconConnector ])
@@ -16,4 +16,6 @@ class RconInputImpl extends InputImpl[RconConnector] with RconInput with WithLog
16
16
* @return true if starting the input was successful, false if some problems occurred
17
17
*/
18
18
override def start (): Boolean = sourceConnector.get.isLoggedIn
19
+
20
+ override def stop (): Boolean = true
19
21
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package org.codeoverflow.chatoverflow.requirement.service.rcon.impl
3
3
import org .codeoverflow .chatoverflow .WithLogger
4
4
import org .codeoverflow .chatoverflow .api .io .output .RconOutput
5
5
import org .codeoverflow .chatoverflow .registry .Impl
6
- import org .codeoverflow .chatoverflow .requirement .OutputImpl
6
+ import org .codeoverflow .chatoverflow .requirement .impl . OutputImpl
7
7
import org .codeoverflow .chatoverflow .requirement .service .rcon .RconConnector
8
8
9
9
@ Impl (impl = classOf [RconOutput ], connector = classOf [RconConnector ])
@@ -18,4 +18,11 @@ class RconOutputImpl extends OutputImpl[RconConnector] with RconOutput with With
18
18
* @return true if starting the input was successful, false if some problems occurred
19
19
*/
20
20
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
21
28
}
You can’t perform that action at this time.
0 commit comments