GetStreamLimit returns the stream limit, for inbound or outbound streams.
int getStreamLimit(Direction direction);