OperationDispatcher

Options
syrka
edited January 2012 in Photon Server
Hi,

i playing around with die "OperationDispatcher". But i didn't get it working.

If i use this pattern
[Operation(OperationCode = 5)]
public OperationResponse TestOp (PeerBase peer, OperationRequest request);.

i get:
Photon.SocketServer.Rpc.Reflection.OperationMethodInfoCache
System.ArgumentException: Operation Test.TestOp has wrong parameter count; 3 required.

if i add SendParameters as 3rd parameter, i get a:
2012-01-20 19:39:21,122 [28] ERROR Photon.SocketServer.ApplicationBase [(null)] - System.ArgumentException: Type CeresPeer does not support method CeresProject.Operations.Test.TestOp

i have no idea :cry: