Punkt 2 implementieren GitHub CoPilot
This commit is contained in:
19
robot/SenderInterface.js
Normal file
19
robot/SenderInterface.js
Normal file
@@ -0,0 +1,19 @@
|
||||
class SenderInterface {
|
||||
async connect() {
|
||||
throw new Error('connect() must be implemented by sender classes');
|
||||
}
|
||||
|
||||
send(command) {
|
||||
throw new Error('send() must be implemented by sender classes');
|
||||
}
|
||||
|
||||
getStatus() {
|
||||
throw new Error('getStatus() must be implemented by sender classes');
|
||||
}
|
||||
|
||||
disconnect() {
|
||||
throw new Error('disconnect() must be implemented by sender classes');
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = SenderInterface;
|
||||
Reference in New Issue
Block a user