Uses of Class
convex.net.message.Message
Packages that use Message
-
Uses of Message in convex.api
Fields in convex.api with type parameters of type MessageModifier and TypeFieldDescriptionConvex.internalHandlerResult Consumer for messages received back from a client connectionMethod parameters in convex.api with type arguments of type Message -
Uses of Message in convex.net
Methods in convex.net that return types with arguments of type MessageMethods in convex.net with parameters of type MessageModifier and TypeMethodDescriptionvoidbooleanConnection.sendMessage(Message msg) Sends a message over this connectionMethod parameters in convex.net with type arguments of type MessageModifier and TypeMethodDescriptionstatic ConnectionConnection.connect(InetSocketAddress hostAddress, Consumer<Message> receiveAction, AStore store) Create a PeerConnection by connecting to a remote addressstatic ConnectionConnection.connect(InetSocketAddress hostAddress, Consumer<Message> receiveAction, AStore store, AccountKey trustedPeerKey) Create a Connection by connecting to a remote addressstatic ConnectionConnection.connect(InetSocketAddress hostAddress, Consumer<Message> receiveAction, AStore store, AccountKey trustedPeerKey, int sendBufferSize, int receiveBufferSize) Create a Connection by connecting to a remote addressstatic ConnectionConnection.create(ByteChannel channel, Consumer<Message> receiveAction, AStore store, AccountKey trustedPeerKey) Create a PeerConnection using an existing channel.voidSets an optional additional message receiver hook (for debugging / observability purposes)voidConnection.setReceiveHook(Consumer<Message> hook) Sets an optional additional message receiver hook (for debugging / observability purposes)Constructor parameters in convex.net with type arguments of type Message -
Uses of Message in convex.net.message
Subclasses of Message in convex.net.messageModifier and TypeClassDescriptionclassClass representing a message to a local Server instanceclassMessage subclass handling return of results via a remote connectionMethods in convex.net.message that return MessageModifier and TypeMethodDescriptionstatic MessageMessage.createBelief(Belief belief) static MessageMessage.createBelief(Belief belief, List<ACell> novelty) Create a Belief message ready for broadcast including delta noveltystatic MessageMessage.createBeliefRequest()Create a Belief request messagestatic MessageMessage.createChallenge(SignedData<ACell> challenge) static MessageMessage.createData(ACell o) static MessageMessage.createGoodBye()static MessageMessage.createMissingData(Hash missingHash) static MessageMessage.createMissingData(CVMLong id, Hash... missingHashes) static MessageMessage.createResponse(SignedData<ACell> response) static MessageMessage.createResult(CVMLong id, ACell value, ACell error) static MessageMessage.createResult(Result res) -
Uses of Message in convex.peer
Fields in convex.peer with type parameters of type MessageModifier and TypeFieldDescriptionprotected final ArrayBlockingQueue<Message>TransactionHandler.txMessageQueueQueue for incoming (unverified) transaction messagesMethods in convex.peer that return types with arguments of type MessageModifier and TypeMethodDescriptionServer.getReceiveAction()Gets the action to perform for an incoming client messageMethods in convex.peer with parameters of type MessageModifier and TypeMethodDescriptionvoidBroadcasts a Message to all connected Peersprotected voidServer.handleMissingData(Message m) Respond to a request for missing data, on a best-efforts basis.protected booleanBeliefPropagator.mergeBeliefMessage(HashMap<AccountKey, SignedData<Order>> newOrders, Message m) booleanQueryHandler.offerQuery(Message m) Offer a transaction for handlingbooleanTransactionHandler.offerTransaction(Message m) Offer a transaction for handlingprotected voidServer.processBelief(Message m) Process an incoming message that represents a BeliefvoidConnectionManager.processChallenge(Message m, Peer thisPeer) protected voidServer.processClose(Message m) Called by a remote peer to close connections to the remote peer.protected voidServer.processMessage(Message m) Process a message received from a peer or client.protected voidTransactionHandler.processMessage(Message m) protected voidServer.processQuery(Message m) protected voidServer.processResponse(Message m) protected voidServer.processStatus(Message m) protected voidServer.processTransact(Message m) booleanBeliefPropagator.queueBelief(Message beliefMessage) Queues a Belief Message for broadcastbooleanServer.queueBelief(Message event) Adds an event to the inbound server event queue.