Lines Matching full:rpc
64 it 'adds a class method, rpc' do
68 expect(c.methods).to include(:rpc)
71 it 'adds rpc descs using the added class method, #rpc' do
74 rpc :AnRpc, GoodMsg, GoodMsg
84 rpc :AnRpc, GoodMsg, GoodMsg
128 it 'raises if #rpc is missing an arg' do
132 rpc :AnRpc, GoodMsg
140 rpc :AnRpc
146 describe 'when #rpc args are incorrect' do
151 rpc :AnRpc, GoodMsg, Object
168 rpc :AnRpc, OnlyMarshal, GoodMsg
184 rpc :AnRpc, GoodMsg, OnlyUnmarshal
195 rpc :AnRpc, GoodMsg, GoodMsg
207 rpc :AnRpc, EncodeDecodeMsg, EncodeDecodeMsg
215 it 'generates a client class that defines any of the rpc methods' do
218 rpc :AnRpc, GoodMsg, GoodMsg
219 rpc :AServerStreamer, GoodMsg, stream(GoodMsg)
220 rpc :AClientStreamer, stream(GoodMsg), GoodMsg
221 rpc :ABidiStreamer, stream(GoodMsg), stream(GoodMsg)
234 rpc :AnRpc, GoodMsg, GoodMsg
235 rpc :AServerStreamer, GoodMsg, stream(GoodMsg)
236 rpc :AClientStreamer, stream(GoodMsg), GoodMsg
237 rpc :ABidiStreamer, stream(GoodMsg), stream(GoodMsg)
249 rpc :AnRpc, GoodMsg, GoodMsg
250 rpc :AServerStreamer, GoodMsg, stream(GoodMsg)
251 rpc :AClientStreamer, stream(GoodMsg), GoodMsg
252 rpc :ABidiStreamer, stream(GoodMsg), stream(GoodMsg)