uka.gm
Class GMServerBench.CtrlMsg

java.lang.Object
  extended byuka.gm.GMServerBench.CtrlMsg
Enclosing class:
GMServerBench

public static class GMServerBench.CtrlMsg
extends java.lang.Object


Field Summary
(package private)  long cnt
           
(package private)  int size
           
static int SIZE
           
(package private)  byte type
           
 
Constructor Summary
GMServerBench.CtrlMsg(byte type, long cnt, int size)
           
 
Method Summary
static GMServerBench.CtrlMsg receive(GMServer.Connection c)
           
 void send(GMServer.Connection c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

byte type

cnt

long cnt

size

int size

SIZE

public static final int SIZE
See Also:
Constant Field Values
Constructor Detail

GMServerBench.CtrlMsg

public GMServerBench.CtrlMsg(byte type,
                             long cnt,
                             int size)
Method Detail

send

public void send(GMServer.Connection c)
          throws java.io.IOException
Throws:
java.io.IOException

receive

public static GMServerBench.CtrlMsg receive(GMServer.Connection c)
                                     throws java.io.IOException
Throws:
java.io.IOException