Photon Server API

Public Member Functions | List of all members
Photon.SocketServer.Rpc.IOperationHandler Interface Reference

Peer.CurrentOperationHandler is an IOperationHandler. The implementor handles incoming OperationRequests (Peer.OnOperationRequest, peer disconnects (Peer.OnDisconnect) and disconnects that are invoked from other peers (Peer.OnDisconnectByOtherPeer). More...

Inheritance diagram for Photon.SocketServer.Rpc.IOperationHandler:
Photon.LoadBalancing.Common.OperationHandlerBase Photon.MmoDemo.Server.MmoActorOperationHandler Photon.MmoDemo.Server.MmoInitialOperationHandler Photon.LoadBalancing.Master.OperationHandler.OperationHandlerAuthenticating Photon.LoadBalancing.Master.OperationHandler.OperationHandlerDefault Photon.LoadBalancing.Master.OperationHandler.OperationHandlerInitial

Public Member Functions

void OnDisconnect (PeerBase peer)
 Called by Peer.OnDisconnect. More...
 
OperationResponse OnOperationRequest (PeerBase peer, OperationRequest operationRequest, SendParameters sendParameters)
 Called by Peer.OnOperationRequest. More...
 

Detailed Description

Peer.CurrentOperationHandler is an IOperationHandler. The implementor handles incoming OperationRequests (Peer.OnOperationRequest, peer disconnects (Peer.OnDisconnect) and disconnects that are invoked from other peers (Peer.OnDisconnectByOtherPeer).

Member Function Documentation

◆ OnDisconnect()

void Photon.SocketServer.Rpc.IOperationHandler.OnDisconnect ( PeerBase  peer)

◆ OnOperationRequest()

OperationResponse Photon.SocketServer.Rpc.IOperationHandler.OnOperationRequest ( PeerBase  peer,
OperationRequest  operationRequest,
SendParameters  sendParameters 
)