aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BaseProtocolSmsEncoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-02 17:05:25 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-02 17:06:48 +0500
commit6ff73337236f126839e8ce936ba9d201e8a501c7 (patch)
treeeff0c6fc8b121e528ad80ce2ab573f8e08625b52 /src/org/traccar/BaseProtocolSmsEncoder.java
parent5a964d4adf67d2f49b58f0b14d4388d7aa2353d2 (diff)
downloadtrackermap-server-6ff73337236f126839e8ce936ba9d201e8a501c7.tar.gz
trackermap-server-6ff73337236f126839e8ce936ba9d201e8a501c7.tar.bz2
trackermap-server-6ff73337236f126839e8ce936ba9d201e8a501c7.zip
Remove BaseProtocolSmsEncoder class
Add fallback to SMS if device is not online Use more variables and ternary operators
Diffstat (limited to 'src/org/traccar/BaseProtocolSmsEncoder.java')
-rw-r--r--src/org/traccar/BaseProtocolSmsEncoder.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/org/traccar/BaseProtocolSmsEncoder.java b/src/org/traccar/BaseProtocolSmsEncoder.java
deleted file mode 100644
index b5694794c..000000000
--- a/src/org/traccar/BaseProtocolSmsEncoder.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 2017 Anton Tananaev (anton@traccar.org)
- * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar;
-
-import org.traccar.model.Command;
-
-public abstract class BaseProtocolSmsEncoder extends StringProtocolEncoder {
-
- protected abstract String encodeSmsCommand(Command command);
-
- @Override
- protected Object encodeCommand(Command command) {
- return null;
- }
-
-}