There are two possible constructors for the Relay class (from relay.h). Here are their definitions:
Code:
Relay(UINT32 channel, Direction direction = kBothDirections);
Relay(UINT32 slot, UINT32 channel, Direction direction = kBothDirections);
You can find the header files in c:\windriver\vxworks-6.3\target\h\wpilib.