This patch converts AccessModeType to RubyAccessMode so that both the protocol dependent and independent code uses the same access mode.
This patch converts AccessModeType to RubyAccessMode so that both the protocol dependent and independent code uses the same access mode.