public static class InMemoryMessagingNetwork.PeerHandle implements SingleMessageRecipient
A class which represents information about an entity on the class InMemoryMessagingNetwork
.
class InMemoryMessagingNetwork
public PeerHandle(int id, @NotNull CordaX500Name name)
A class which represents information about an entity on the class InMemoryMessagingNetwork
.
id
- An integer giving the node an ID on the class InMemoryMessagingNetwork
.name
- The node's class CordaX500Name
.class InMemoryMessagingNetwork
@NotNull public java.lang.String toString()
public boolean equals(@Nullable java.lang.Object other)
public int hashCode()
public int getId()
An integer giving the node an ID on the
class InMemoryMessagingNetwork
@NotNull public CordaX500Name getName()
The node
class CordaX500Name
public int component1()
An integer giving the node an ID on the
class InMemoryMessagingNetwork
@NotNull public CordaX500Name component2()
The node
class CordaX500Name
@NotNull public net.corda.testing.node.InMemoryMessagingNetwork.PeerHandle copy(int id, @NotNull CordaX500Name name)
A class which represents information about an entity on the class InMemoryMessagingNetwork
.
class InMemoryMessagingNetwork