Uses of Class
convex.net.Connection
Packages that use Connection
-
Uses of Connection in convex.api
Fields in convex.api declared as ConnectionModifier and TypeFieldDescriptionprotected Connection
ConvexRemote.connection
Current Connection to a Peer, may be null or a closed connection.Methods in convex.api with parameters of type ConnectionModifier and TypeMethodDescriptionprotected void
ConvexRemote.setConnection
(Connection conn) Sets the current Connection for this Remote Client -
Uses of Connection in convex.net
Methods in convex.net that return ConnectionModifier and TypeMethodDescriptionstatic Connection
Connection.connect
(InetSocketAddress socketAddress, Consumer<Message> receiveAction, AStore store) Create a Connection by connecting to a remote addressstatic Connection
Connection.connect
(InetSocketAddress socketAddress, Consumer<Message> receiveAction, AStore store, AccountKey trustedPeerKey) Create a Connection by connecting to a remote addressstatic Connection
Connection.connect
(InetSocketAddress socketAddress, Consumer<Message> receiveAction, AStore store, AccountKey trustedPeerKey, int sendBufferSize, int receiveBufferSize) Create a Connection by connecting to a remote addressstatic Connection
Connection.create
(ByteChannel channel, Consumer<Message> receiveAction, AStore store, AccountKey trustedPeerKey) Create a PeerConnection using an existing channel.Methods in convex.net with parameters of type ConnectionModifier and TypeMethodDescriptionstatic Message
Message.create
(Connection conn, MessageType type, Blob data) long
ChallengeRequest.send
(Connection connection, Peer peer) Sends out a single challenge to the remote peer.Constructors in convex.net with parameters of type Connection -
Uses of Connection in convex.peer
Methods in convex.peer that return ConnectionModifier and TypeMethodDescriptionConnectionManager.connectToPeer
(InetSocketAddress hostAddress) Connects explicitly to a Peer at the given host addressConnectionManager.getConnection
(AccountKey peerKey) Gets a connection based on the peers public keyMethods in convex.peer that return types with arguments of type ConnectionModifier and TypeMethodDescriptionConnectionManager.getConnections()
Gets the current set of outbound peer connections from this serverMethods in convex.peer with parameters of type ConnectionModifier and TypeMethodDescriptionvoid
ConnectionManager.requestChallenge
(AccountKey toPeerKey, Connection connection, Peer thisPeer) Sends out a challenge to a connection that is not trusted.