Exemple #1
0
 public void Initialize()
 {
     pofDispatcher.RegisterHandler <X2XServiceInvocation>(HandleX2XServiceInvocation);
     pofDispatcher.RegisterHandler <X2XInvocationResult>(HandleX2XInvocationResult);
     pofDispatcher.RegisterHandler <G2HServiceBroadcast>(HandleG2HServiceBroadcast);
     pofDispatcher.RegisterHandler <G2HServiceUpdate>(HandleG2HServiceUpdate);
     pofDispatcher.RegisterShutdownHandler(HandleDispatcherShutdown);
 }
Exemple #2
0
 public void Initialize()
 {
     logger.Info("Guest init");
     pofDispatcher.RegisterHandler <X2XServiceInvocation>(HandleX2XServiceInvocation);
     pofDispatcher.RegisterHandler <X2XInvocationResult>(HandleX2XInvocationResult);
     pofDispatcher.RegisterShutdownHandler(HandleDispatcherShutdown);
     pofDispatcher.Start();
 }