change the _fd of RawFD to protected
change setFD and getFD to _fd directly