Title: DiconnectListener Problem !!

class DisconnectDemo implements DisconnectListener {
        public DisconnectDemo(Object source){
                super(source);
        }
                       
        public void disconnectOccurred(DisconnectEvent de) {
                System.out.println("The reason for disconnecting you : " + de.getReason());
        }
}

On compiling this code gives error that wrong number of arguements in the constructor.
Can anybody give me some insight into this.

Regards

Mahendra

Reply via email to