Interface ApplicationService
- All Superinterfaces:
AutoCloseable,io.hotmoka.websockets.server.api.WebSocketServer
public interface ApplicationService
extends io.hotmoka.websockets.server.api.WebSocketServer
A websocket server for the public API of a Mokamint application.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe network endpoint path whereApplication.abortBlock(int)is published.static final StringThe network endpoint path whereApplication.beginBlock(long, java.time.LocalDateTime, byte[])is published.static final StringThe network endpoint path whereApplication.checkPrologExtra(byte[])is published.static final StringThe network endpoint path whereApplication.checkTransaction(Transaction)is published.static final StringThe network endpoint path whereApplication.commitBlock(int)is published.static final StringThe network endpoint path whereApplication.deliverTransaction(int, Transaction)is published.static final StringThe network endpoint path whereApplication.endBlock(int, io.mokamint.nonce.api.Deadline)is published.static final StringThe network endpoint path whereApplication.getInitialStateId()is published.static final StringThe network endpoint path whereApplication.getPriority(Transaction)is published.static final StringThe network endpoint path whereApplication.getRepresentation(Transaction)is published.static final StringThe network endpoint path whereApplication.keepFrom(java.time.LocalDateTime)is published.static final StringThe network endpoint path whereApplication.publish(io.mokamint.node.api.Block)is published. -
Method Summary
-
Field Details
-
CHECK_PROLOG_EXTRA_ENDPOINT
The network endpoint path whereApplication.checkPrologExtra(byte[])is published.- See Also:
-
CHECK_TRANSACTION_ENDPOINT
The network endpoint path whereApplication.checkTransaction(Transaction)is published.- See Also:
-
GET_PRIORITY_ENDPOINT
The network endpoint path whereApplication.getPriority(Transaction)is published.- See Also:
-
GET_REPRESENTATION_ENDPOINT
The network endpoint path whereApplication.getRepresentation(Transaction)is published.- See Also:
-
GET_INITIAL_STATE_ID_ENDPOINT
The network endpoint path whereApplication.getInitialStateId()is published.- See Also:
-
BEGIN_BLOCK_ENDPOINT
The network endpoint path whereApplication.beginBlock(long, java.time.LocalDateTime, byte[])is published.- See Also:
-
DELIVER_TRANSACTION_ENDPOINT
The network endpoint path whereApplication.deliverTransaction(int, Transaction)is published.- See Also:
-
END_BLOCK_ENDPOINT
The network endpoint path whereApplication.endBlock(int, io.mokamint.nonce.api.Deadline)is published.- See Also:
-
COMMIT_BLOCK_ENDPOINT
The network endpoint path whereApplication.commitBlock(int)is published.- See Also:
-
ABORT_BLOCK_ENDPOINT
The network endpoint path whereApplication.abortBlock(int)is published.- See Also:
-
KEEP_FROM_ENDPOINT
The network endpoint path whereApplication.keepFrom(java.time.LocalDateTime)is published.- See Also:
-
PUBLISH_ENDPOINT
The network endpoint path whereApplication.publish(io.mokamint.node.api.Block)is published.- See Also:
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
InterruptedException
-