Writing the skeleton for the network buffer

import netobj.*;
import java.io.*;

public class ConcreteBufferSkel extends ConcreteNetObjSkel {
  final static int Put= 1; // method identifiers
  final static int Get= 2;
  public void dispatch(ObjectInputStream in, ClientConnection client,
                       ConcreteNetObj netObj, int methodId)
                       throws IOException, ClassNotFoundException {
    ConcreteBuffer server= (ConcreteBuffer)netObj;
    switch(methodId) {
      case Put: { ... } // dispatching of method put
      case Get: { ... } // dispatching of method get
} } }

- 9 -