package Ġcom . white cloud . socket . core . interfaces Ċ Ċ import Ġjava . io . Serializable Ċ Ċ interface ĠI State Sender Ġ{ ĊĊĠĠĠ Ġfun Ġsend Broadcast ( action : ĠState , Ġserial izable : ĠSerializable ? Ġ= Ġnull ) ĊĊĠĠĠ Ġenum Ġclass ĠState Ġ{ ĊĠĠĠĠĠĠĠ ĠACTION _ READ _ COMPLETE , ĊĠĠĠĠĠĠĠ ĠACTION _ WRITE _ COMPLETE , ĊĠĠĠĠĠĠĠ ĠACTION _ P UL SE _ REQUEST , ĊĠĠĠĠĠĠĠ ĠACTION _ READ _ THREAD _ START , ĊĠĠĠĠĠĠĠ ĠACTION _ READ _ THREAD _ SHUT DOWN , ĊĠĠĠĠĠĠĠ ĠACTION _ WRITE _ THREAD _ START , ĊĠĠĠĠĠĠĠ ĠACTION _ WRITE _ THREAD _ SHUT DOWN , ĊĠĠĠĠĠĠĠ ĠACTION _ CONNECTION _ SUCCESS , ĊĠĠĠĠĠĠĠ ĠACTION _ CONNECTION _ FAILED , ĊĠĠĠĠĠĠĠ ĠACTION _ DIS CONNECTION ĊĠĠĠ Ġ} Ċ }