⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfa.ry

📁 ftam等标准协议服务器和客户端的源代码。
💻 RY
字号:
---- RFA - Remote File Access---- Access and Management for a partial file system tree that exists-- at two side either as master files or slave files---- rfa.ry : Definition of Remote Operations that are used by RFA------ Contributed by Oliver Wenzel, GMD Berlin, 1990----  $Header: /xtel/isode/isode/others/rfa/RCS/rfa.ry,v 9.0 1992/06/16 12:47:25 isode Rel $-- --  $Log: rfa.ry,v $-- Revision 9.0  1992/06/16  12:47:25  isode-- Release 8.0------ -- --                               NOTICE-- --     Acquisition, use, and distribution of this module and related--     materials are subject to the restrictions of a license agreement.--     Consult the Preface in the User's Manual for the full terms of--     this agreement.-- RFA DEFINITIONS ::=BEGIN-- operationsgetFileData  OPERATION    ARGUMENT	GetFileDataArg    RESULT	GetFileDataRes    ERRORS	{ miscError, fileAccessError }    ::=	    1GetFileDataArg ::= SEQUENCE {    filename		FileName,    slaveVersion	INTEGER}GetFileDataRes ::= SEQUENCE {    mode	INTEGER {			actual(0),  -- local version is still valid			data(1),			zero(2),			compressed(3) },    fileinfo	FileInfo,    data	OCTETSTRING OPTIONAL}    requestMaster OPERATION    ARGUMENT	RequestMasterArg    RESULT	RequestMasterRes    ERRORS	{ miscError, statusError, fileAccessError }    ::=	    2RequestMasterArg ::= SEQUENCE {    filename		FileName,    slaveVersion	INTEGER}RequestMasterRes ::= INTEGER  -- modification timelistDir	OPERATION    ARGUMENT	FileName    RESULT 	FileInfoList    ERRORS	{ miscError, fileAccessError }    ::=	    3FileName ::= IA5StringFileInfo ::= SEQUENCE {    name	IA5String,    mode	INTEGER,    user	IA5String,    group	IA5String,    size	INTEGER,    accTime	INTEGER,    modTime	INTEGER,    lnkName 	[0] IA5String OPTIONAL,    status	INTEGER {			unregistered(0),			master(1),			masterLocked(2),			slave(3) },    lockedBy	[1] IA5String OPTIONAL,    lockedSince INTEGER }FileInfoList ::= SEQUENCE OF FileInfosyncTime	OPERATION    ARGUMENT	SyncTimeArg    RESULT 	SyncTimeRes    ERRORS	{ miscError }    ::=	    4SyncTimeArg ::= SEQUENCE {	role	INTEGER {			 master(0),			 slave(1)		},	time	INTEGER -- only used when role = master}SyncTimeRes ::= SEQUENCE {	time	INTEGER		-- contains clock of master if role was slave				-- otherwise the time diff at slave}-- errorsmiscError ERROR    PARAMETER Reason    ::= 0fileAccessError ERROR    PARAMETER Reason    ::= 1Reason ::= SEQUENCE {    reason  IA5String}statusError ERROR    PARAMETER	StatusErrorParm    ::= 2StatusErrorParm ::= SEQUENCE {    reason	INTEGER {		    notMaster (0),		    locked (1),		    notRegistered(2),		    notWritable(3),		    wrongVersion(4),		    notRegularFile(5),		    slaveNewer(6)},    user    [0] IA5String OPTIONAL,    since   [1] INTEGER }-- typesInitiate ::= SEQUENCE {    user	IA5String,    password	IA5String}END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -