InMemoryMessagingNetwork.PeerHandle - corda

corda / net.corda.testing.node / InMemoryMessagingNetwork / PeerHandle

# PeerHandle

`data class PeerHandle : SingleMessageRecipient`

A class which represents information about an entity on the InMemoryMessagingNetwork.

### Constructors

#### <init> | A class which represents information about an entity on the InMemoryMessagingNetwork. `PeerHandle(id: Int, name: CordaX500Name)`

### Properties

#### id | An integer giving the node an ID on the InMemoryMessagingNetwork. `val id: Int`
#### name | The node's CordaX500Name. `val name: CordaX500Name`

### Functions

#### equals | `fun equals(other: Any?): Boolean`
#### hashCode | `fun hashCode(): Int`
#### toString | `fun toString(): String`