TMSP references replaced with ABCI

This commit is contained in:
Michael Häusler 2017-05-02 15:11:21 +02:00
parent 1bcce77b0e
commit e5fe6d1247
5 changed files with 9 additions and 13 deletions

View File

@ -42,8 +42,8 @@ public class StartupExampleDummyAsyncServer {
final AsyncServer sock = new AsyncServer(); final AsyncServer sock = new AsyncServer();
//// register TMSP-API listeners here: //// register ABCI-API listeners here:
//// listeners can be TMSPAPI for accepting all messages or //// listeners can be ABCIAPI for accepting all messages or
//// single interfaces like IInfo, IDeliverTX, etc... to only target specific cases //// single interfaces like IInfo, IDeliverTX, etc... to only target specific cases
// sock.registerListener(some_listeners); // sock.registerListener(some_listeners);

View File

@ -24,13 +24,11 @@
package com.github.jtendermint.jabci.api; package com.github.jtendermint.jabci.api;
/** /**
* TMSP-Protocol<br> * ABCI-Protocol<br>
* Bundled Interface of Sub-Interfaces * Bundled Interface of Sub-Interfaces
* *
* <br> * <br>
* See <a * See <a href="https://github.com/tendermint/abci">https://github.com/tendermint /abci</a> for more info
* href="https://github.com/tendermint/tmsp">https://github.com/tendermint
* /tmsp</a> for more info
* *
* @version 26.05.2016 * @version 26.05.2016
* *

View File

@ -174,7 +174,7 @@ public abstract class ASocket {
} }
/** /**
* Register a new listener of type TMSPAPI or supertype * Register a new listener of type ABCIAPI or supertype
* *
* @param listener * @param listener
*/ */
@ -183,7 +183,7 @@ public abstract class ASocket {
} }
/** /**
* Register a new listener of type TMSPAPI or supertype * Register a new listener of type ABCIAPI or supertype
* *
* @param listener * @param listener
*/ */

View File

@ -52,7 +52,7 @@ import com.github.jtendermint.jabci.types.Types.ResponseQuery;
import com.github.jtendermint.jabci.types.Types.ResponseSetOption; import com.github.jtendermint.jabci.types.Types.ResponseSetOption;
/** /**
* The DefaultFallbackListener answers every incoming TMSP-request with a CodeType.OK * The DefaultFallbackListener answers every incoming ABCI-request with a CodeType.OK
* *
* @author wolfposd * @author wolfposd
*/ */

View File

@ -60,7 +60,7 @@ public class TSocket extends ASocket {
private boolean continueRunning = true; private boolean continueRunning = true;
/** /**
* Start listening on the default tmsp port 46658 * Start listening on the default ABCI port 46658
*/ */
public void start() { public void start() {
this.start(DEFAULT_LISTEN_SOCKET_PORT); this.start(DEFAULT_LISTEN_SOCKET_PORT);
@ -87,9 +87,7 @@ public class TSocket extends ASocket {
} }
TSOCKET_LOG.debug("TSocket Stopped Running"); TSOCKET_LOG.debug("TSocket Stopped Running");
} catch (IOException e) { } catch (IOException e) {
TSOCKET_LOG.debug("Exception caught when trying to listen on port " + portNumber + " or listening for a connection"); TSOCKET_LOG.error("Exception caught when trying to listen on port " + portNumber + " or listening for a connection", e);
TSOCKET_LOG.debug(e.getMessage());
e.printStackTrace();
} }
} }