FileDocCategorySizeDatePackage
ConvertEventHandler.javaAPI DocExample1996Thu Mar 16 11:52:18 GMT 2000None

ConvertEventHandler

public class ConvertEventHandler extends UnicastRemoteObject implements RemoteEventListener

Fields Summary
Constructors Summary
public ConvertEventHandler()

    
Methods Summary
public voidnotify(RemoteEvent rev)

        ConvertEvent cev;
        if (!(rev instanceof ConvertEvent))
            throw new UnknownEventException("Unexpected event type");
        cev = (ConvertEvent) rev;
        long seq = cev.getSequenceNumber();
        int  val = cev.getValue();
        System.out.println("Convert #" + seq + ": " + val);