Uses of Class
se.sics.kompics.network.Transport
Package | Description |
---|---|
se.sics.kompics.network |
Provides the Network Kompics port type.
|
se.sics.kompics.network.test |
-
Uses of Transport in se.sics.kompics.network
Fields in se.sics.kompics.network declared as Transport Modifier and Type Field Description Transport
ConnectionStatus. protocol
The transport protocol of the connection to thepeer
.Transport
NetworkException. protocol
Fields in se.sics.kompics.network with type parameters of type Transport Modifier and Type Field Description com.google.common.collect.ImmutableMap<Transport,Integer>
ListeningStatus. openSockets
Methods in se.sics.kompics.network that return Transport Modifier and Type Method Description Transport
Header. getProtocol()
What protocol should be used to send the message.Transport
Msg. getProtocol()
Deprecated.static Transport
Transport. valueOf(String name)
Returns the enum constant of this type with the specified name.static Transport[]
Transport. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in se.sics.kompics.network with parameters of type Transport Modifier and Type Method Description <A extends Address>
Optional<A>ListeningStatus. address(Transport proto, Function<InetSocketAddress,A> f)
Get an address for the public interface and the given transport protocol.Optional<Integer>
ListeningStatus. checkPort(Transport proto)
The port where the current listening socket for the given protocol is bound, if any.static ConnectionStatus.Dropped
ConnectionStatus. dropped(Address peer, Transport protocol, boolean last)
static ConnectionStatus.Established
ConnectionStatus. established(Address peer, Transport protocol)
int
ListeningStatus. getPort(Transport proto)
The port where the current listening socket for the given protocol is bound.static ConnectionStatus.Requested
ConnectionStatus. requested(Address peer, Transport protocol)
Optional<InetSocketAddress>
ListeningStatus. socket(Transport proto)
Get a socket address for the public interface and the given transport protocol.Constructors in se.sics.kompics.network with parameters of type Transport Constructor Description NetworkException(String message, Address peer, Transport protocol)
NetworkException(String message, Address peer, Transport protocol, Throwable cause)
Constructor parameters in se.sics.kompics.network with type arguments of type Transport Constructor Description ListeningStatus(com.google.common.collect.ImmutableMap<Transport,Integer> openSockets, InetAddress boundInterface, InetAddress publicInterface)
ListeningStatus(Map<Transport,Integer> openSockets, InetAddress boundInterface, InetAddress publicInterface)
-
Uses of Transport in se.sics.kompics.network.test
Fields in se.sics.kompics.network.test declared as Transport Modifier and Type Field Description Transport
TestHeader. proto
Methods in se.sics.kompics.network.test that return Transport Modifier and Type Method Description Transport
Message. getProtocol()
Transport
TestHeader. getProtocol()
Methods in se.sics.kompics.network.test with parameters of type Transport Modifier and Type Method Description static void
NetworkTest. runAtLeastTests(NetworkGenerator nGen, int numNodes, Transport[] protos)
static void
NetworkTest. runDCTest(NetworkGenerator nGen, int numNodes, Transport[] protos)
static void
NetworkTest. runTests(NetworkGenerator nGen, int numNodes, Transport[] protos)
Constructors in se.sics.kompics.network.test with parameters of type Transport Constructor Description Ack(TestAddress src, TestAddress dst, int id, Transport p)
Message(TestAddress src, TestAddress dst, Transport proto)
TestHeader(TestAddress src, TestAddress dst, Transport proto)
TestMessage(TestAddress src, TestAddress dst, int id, Transport p)