com.sun.jini.mercury
Class MailboxImpl.RegistrationEnabledLogObj

java.lang.Object
  extended by com.sun.jini.mercury.MailboxImpl.RegistrationEnabledLogObj
All Implemented Interfaces:
MailboxImpl.LogRecord, Serializable
Enclosing class:
MailboxImpl

private static class MailboxImpl.RegistrationEnabledLogObj
extends Object
implements MailboxImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever a registration is enabled.


Field Summary
private  Uuid regID
          The registration ID.
private static long serialVersionUID
           
private  RemoteEventListener target
          The registration ID.
 
Constructor Summary
MailboxImpl.RegistrationEnabledLogObj(Uuid id, RemoteEventListener l)
          Simple constructor
 
Method Summary
 void apply(MailboxImpl mb)
          Enables the stored RemoteEventListener object with the associated, stored registration.
private  void readObject(ObjectInputStream stream)
          Unmarshals the event listener.
private  void writeObject(ObjectOutputStream stream)
           
 
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

regID

private Uuid regID
The registration ID.


target

private transient RemoteEventListener target
The registration ID.

Constructor Detail

MailboxImpl.RegistrationEnabledLogObj

public MailboxImpl.RegistrationEnabledLogObj(Uuid id,
                                             RemoteEventListener l)
Simple constructor

Method Detail

writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Throws:
IOException

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Unmarshals the event listener.

Throws:
IOException
ClassNotFoundException

apply

public void apply(MailboxImpl mb)
Enables the stored RemoteEventListener object with the associated, stored registration.

Specified by:
apply in interface MailboxImpl.LogRecord


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