|
RPyC (pronounced ''are-pie-see''), or Remote Python Call, is a python library for remote procedure calls (RPC), as well as distributed computing. Unlike regular RPC mechanisms, such as ONC RPC, CORBA or Java RMI, RPyC is transparent, symmetric, and requires no special decoration or definition languages. Moreover, it provides programmatic access to any pythonic element, be it functions, classes, instances or modules. ==Features== * Symmetric—there is no difference between the client and the server—both can serve. The only different aspect is that the client is usually the side that initiates the action. Being symmetric, for example, allows the client to pass callback functions to the server. * Transparent—remote objects look and behave the same as local objects would. * Exceptions propagate like local ones * Allows for synchronous and asynchronous operation: * * Synchronous operations return a ''NetProxy'' (see below) * * Asynchronous operations return an AsyncResult, which is like promise objects * * AsyncResults can be used as events * Threads are supported (though not recommended) * UNIX specific: server integration with inetd 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「RPyC」の詳細全文を読む スポンサード リンク
|