public NFSv4ProtocolServerStub(IPAddress bindAddr, int port) { info = new OncRpcServerTransportRegistrationInfo[] { new OncRpcServerTransportRegistrationInfo(NFSv4Protocol.NFS4_PROGRAM, 4), }; transports = new OncRpcServerTransport[] { new OncRpcUdpServerTransport(this, bindAddr, port, info, 32768), new OncRpcTcpServerTransport(this, bindAddr, port, info, 32768) }; }
public NFSv4_callbackServerStub(IPAddress bindAddr, int port) { info = new OncRpcServerTransportRegistrationInfo[] { new OncRpcServerTransportRegistrationInfo(NFSv4_callback.NFS4_CALLBACK, 1), }; transports = new OncRpcServerTransport[] { new OncRpcUdpServerTransport(this, bindAddr, port, info, 32768), new OncRpcTcpServerTransport(this, bindAddr, port, info, 32768) }; }