public class TriadDispatcherDouble<X> extends TriadDispatcher<X>
Constructor and Description |
---|
TriadDispatcherDouble(X valueA,
X valueB) |
Modifier and Type | Method and Description |
---|---|
static <T> TriadDispatcher<T> |
create(T valueA,
T valueB) |
X |
getA()
Returns the member A.
|
X |
getB()
Returns the member B.
|
X |
primary(TriadOwner owner)
Returns the primary server.
|
X |
secondary(TriadOwner owner)
Returns the primary server.
|
X |
tertiary(TriadOwner owner)
Returns the tertiary server.
|
create, getC
public static <T> TriadDispatcher<T> create(T valueA, T valueB)
public X getA()
getA
in class TriadDispatcher<X>
public X getB()
getB
in class TriadDispatcher<X>
public X primary(TriadOwner owner)
primary
in class TriadDispatcher<X>
public X secondary(TriadOwner owner)
secondary
in class TriadDispatcher<X>
public X tertiary(TriadOwner owner)
tertiary
in class TriadDispatcher<X>