Implementation of AMPS protocol using netty