com.sun.jini.reggie
Class RegistrarImpl.EventRegisteredLogObj

java.lang.Object
  extended by com.sun.jini.reggie.RegistrarImpl.EventRegisteredLogObj
All Implemented Interfaces:
RegistrarImpl.LogRecord, Serializable
Enclosing class:
RegistrarImpl

private static class RegistrarImpl.EventRegisteredLogObj
extends Object
implements RegistrarImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever a new event is registered.

See Also:
RegistrarImpl.LocalLogHandler

Field Summary
private  RegistrarImpl.EventReg eventReg
          The event registration.
private static long serialVersionUID
           
 
Constructor Summary
RegistrarImpl.EventRegisteredLogObj(RegistrarImpl.EventReg eventReg)
          Simple constructor
 
Method Summary
 void apply(RegistrarImpl regImpl)
          Modifies the state of the Registrar by registering the event stored in the eventReg object; and by updating both the event sequence number and the event ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

eventReg

private RegistrarImpl.EventReg eventReg
The event registration.

Constructor Detail

RegistrarImpl.EventRegisteredLogObj

public RegistrarImpl.EventRegisteredLogObj(RegistrarImpl.EventReg eventReg)
Simple constructor

Method Detail

apply

public void apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by registering the event stored in the eventReg object; and by updating both the event sequence number and the event ID.

Specified by:
apply in interface RegistrarImpl.LogRecord
See Also:
RegistrarImpl.LocalLogHandler.applyUpdate(java.lang.Object)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.