jgroup.relacs.registry
Class BindingList

java.lang.Object
  extended by jgroup.util.OrderedList
      extended by jgroup.relacs.registry.BindingList
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public final class BindingList
extends OrderedList
implements java.io.Externalizable

Objects of this class are used to maintain a set of bindings associated to one service name.

FIXME HEIN Oct 5, 2002: Currently it extends the OrderedList class; we should avoid to use OrderedList and use hash tables instead; no need for ordering. In this sense, the correct name for the class should be just Binding.

Since:
Jgroup 0.4
Author:
Alberto Montresor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class jgroup.util.OrderedList
key, next
 
Constructor Summary
BindingList()
          Empty constructor needed for construction of an empty OrderedList list.
 
Method Summary
 void readExternal(java.io.ObjectInput in)
          Restores the content of this object from the marshalled data contained in the specified input stream.
 java.lang.String toString()
          Returns a string representation of this object
 void writeExternal(java.io.ObjectOutput out)
          Marshals the content of this object to the specified output stream.
 
Methods inherited from class jgroup.util.OrderedList
count, getFirst, getNext, insert, isEmpty, lookup, remove, removeAll, removeFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingList

public BindingList()
Empty constructor needed for construction of an empty OrderedList list. Also needed for externalization.

Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object

Overrides:
toString in class java.lang.Object

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Marshals the content of this object to the specified output stream.

Specified by:
writeExternal in interface java.io.Externalizable
Parameters:
out - the stream to be written
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Restores the content of this object from the marshalled data contained in the specified input stream.

Specified by:
readExternal in interface java.io.Externalizable
Parameters:
in - the stream to be read
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.