package Ġcom . da im ler . mb network kit . socket Ċ Ċ import Ġcom . da im ler . mb network kit . socket . message . Observable s Ċ Ċ interface ĠSocket Event Ġ{ ĊĠĠĠ Ġfun Ġconnect ( config : ĠConnection Config , Ġconnection Listener : ĠSocket Connection Listener ?, Ġsocket Connection : ĠSocket Connection ) ĊĠĠĠ Ġfun Ġopen ( observable s : ĠObservable s , Ġsocket Connection : ĠSocket Connection ) ĊĠĠĠ Ġfun Ġclose ( socket Connection : ĠSocket Connection ) ĊĠĠĠ Ġfun Ġdisconnect ( socket Connection : ĠSocket Connection ) ĊĠĠĠ Ġfun Ġerror ( error : ĠConnection Error , Ġcause : ĠString , Ġsocket Connection : ĠSocket Connection ) ĊĠĠĠ Ġfun Ġconnection State (): ĠConnection State Ċ } Ċ