public class Slot
extends java.lang.Object
A peer (sender or receiver) may have multiple slots, which may be independently bound or connected. You can use multiple slots on sender to connect it to multiple receiver addresses, and you can use multiple slots on receiver to bind it to multiple receiver address.
Slots are numbered from zero and are created implicitly. Just specify slot index when binding or connecting endpoint, and slot will be automatically created if it was not created yet.
In simple cases, just use DEFAULT.
Each slot has its own set of interfaces, dedicated to different kinds of endpoints.
See Interface for details.
| Modifier and Type | Field and Description |
|---|---|
static Slot |
DEFAULT
Alias for the slot with index zero.
|
| Constructor and Description |
|---|
Slot(int value) |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
java.lang.String |
toString() |
public static final Slot DEFAULT