WriteLine() public static method

Write bool value to standard output console and append LF character.
public static WriteLine ( bool value ) : void
value bool bool value
return void
Exemplo n.º 1
0
 public void OnFrameException(Service svc, Exception e)
 {
     Console.WriteLine("Frame exception: {0}", e);
 }
Exemplo n.º 2
0
 public void OnPacket(Packet packet)
 {
     Console.WriteLine("OnPacket: {0}", packet);
     throw new Exception("Test exception, Yep!");
 }
Exemplo n.º 3
0
 public void OnPacketExcHandler(PacketExceptionInfo excInfo)
 {
     Console.WriteLine("Packet exception, phase: {0}, packet: {1}, e: {2}", excInfo.phase, excInfo.packet, excInfo.exception);
 }
Exemplo n.º 4
0
 public override void OnStart()
 {
     Console.WriteLine("Service [{0}] start", svc.svcName);
 }
Exemplo n.º 5
0
 public override void OnSessionDestroy(SessionDestroyInfo destroyInfo)
 {
     Console.WriteLine("Session destroy: {0}", destroyInfo);
 }
Exemplo n.º 6
0
 public override void OnInit()
 {
     Console.WriteLine("Service {0} init(By Facade2)", svc.svcName);
 }
Exemplo n.º 7
0
 public override void OnDestroy()
 {
     Console.WriteLine("Service[{0}] destroy", svc);
 }
Exemplo n.º 8
0
 public override void OnUnHandledPacket(Packet packet)
 {
     Console.WriteLine("UnHandled packet: {0}", packet);
 }
Exemplo n.º 9
0
 public void OnMulticastPacket(Packet packet)
 {
     Console.WriteLine("Recv multicast-packet: {0}", packet);
 }
Exemplo n.º 10
0
 public override void OnSessionCreate(SessionInfo sessionInfo)
 {
     Console.WriteLine("New session create: {0}", sessionInfo);
 }
Exemplo n.º 11
0
 public override void OnProtoReport(ProtoReport report)
 {
     Console.WriteLine("Proto report: {0}", report);
 }
Exemplo n.º 12
0
 public override void OnAsyncConnResult(AsyncConnResult asyncConnResult)
 {
     Console.WriteLine("Async-Connect result: {0}", asyncConnResult);
 }
Exemplo n.º 13
0
 public override void OnInit()
 {
     Console.WriteLine("Service[{0}] init", svc.svcName);
 }
Exemplo n.º 14
0
 public override void OnStop()
 {
     Console.WriteLine("Service [{0}] stop", svc.svcName);
     _idleOutputTimes   = 0;
     _updateOutputTimes = 0;
 }
Exemplo n.º 15
0
 public bool OnUnifyPrePacket(Packet packet)
 {
     Console.WriteLine("OnUnifyPrePacket: {0}", packet);
     return(true);
 }
Exemplo n.º 16
0
 public void OnBroadcastPacket(Packet packet)
 {
     Console.WriteLine("Recv broadcast packet: {0}", packet);
 }
Exemplo n.º 17
0
 public override void OnInit()
 {
     Console.WriteLine("Service {0} init(By Facade)", svc.svcName);
     throw new Exception("Test Exception throw by OnInit!!!");
 }
Exemplo n.º 18
0
 public bool OnPreHandle(Packet packet)
 {
     Console.WriteLine("OnPreHandle, packet: {0}", packet);
     return(true);
 }
Exemplo n.º 19
0
 public override void OnDestroy()
 {
     Console.WriteLine("Service {0} destroy(By Facade2)", svc.svcName);
 }
Exemplo n.º 20
0
 public void OnHandle(Packet packet)
 {
     Console.WriteLine("OnHandle, packet: {0}", packet);
 }
Exemplo n.º 21
0
 private void OnPacket(Packet packet)
 {
     Console.WriteLine("Recv packet: {0}", packet);
 }
Exemplo n.º 22
0
 public override void OnInit()
 {
     _updateOutputTimes = 0;
     _idleOutputTimes   = 0;
     Console.WriteLine("Service [{0}] init", svc.svcName);
 }