You use the generic Relay class--the full documentation is on page 94 of the reference, but the constructer is just:
Code:
Relay (UINT32 channel, Relay::Direction direction = kBothDirections)
Or
Code:
Relay (UINT32 slot, UINT32 channel, Relay::Direction direction =
kBothDirections)