equip.net
Class TraderMoniker

java.lang.Object
  extended byequip.runtime.Object
      extended byequip.runtime.ValueBase
          extended byequip.net.Moniker
              extended byequip.net.TraderMoniker
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
TraderMonikerImpl

public abstract class TraderMoniker
extends Moniker

moniker that uses the trader to look up another moniker (IDL'd in eqTraderTypes.idl)


Field Summary
 java.lang.String classname
          the name of the class wanted from the trader
 java.lang.String name
          the name with which the instance is registered with the trader (as in EQUIP trader URL)
 Moniker trader
          The (simple?)
 
Constructor Summary
TraderMoniker()
          Default no-arg constructor
 
Method Summary
 boolean _equals_helper(TraderMoniker c)
          Internal IDL-generated equality test helper
 boolean _matches_helper(TraderMoniker c)
          Internal IDL-generated match test helper
 boolean equals(java.lang.Object c)
          Standard IDL-generated equality test.
 java.lang.String getModuleName()
          IDL-generated helper routine to get module name (currently unimplemented).
 boolean matches(java.lang.Object c)
          Standard IDL-generated template match test.
 void readObject(ObjectInputStream in)
          Internal IDL-generated serialisation helper.
abstract  boolean rebind(Moniker proxyMoniker)
          Ask moniker to contact the specific trader and (re)register itself.
 void writeObject(ObjectOutputStream out)
          Internal IDL-generated serialisation helper.
 
Methods inherited from class equip.net.Moniker
_equals_helper, _matches_helper, resolve
 
Methods inherited from class equip.runtime.ValueBase
_equals_helper, _matches_helper, clone
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trader

public Moniker trader
The (simple?) moniker of the trader itself


classname

public java.lang.String classname
the name of the class wanted from the trader


name

public java.lang.String name
the name with which the instance is registered with the trader (as in EQUIP trader URL)

Constructor Detail

TraderMoniker

public TraderMoniker()
Default no-arg constructor

Method Detail

rebind

public abstract boolean rebind(Moniker proxyMoniker)
Ask moniker to contact the specific trader and (re)register itself.

Returns:
true = ok

getModuleName

public java.lang.String getModuleName()
IDL-generated helper routine to get module name (currently unimplemented).

Overrides:
getModuleName in class Moniker
Returns:
name of this class's module

equals

public boolean equals(java.lang.Object c)
Standard IDL-generated equality test.

Overrides:
equals in class Moniker
Parameters:
c - The object to be compared against this.
Returns:
true if this is equal to c

_equals_helper

public boolean _equals_helper(TraderMoniker c)
Internal IDL-generated equality test helper


matches

public boolean matches(java.lang.Object c)
Standard IDL-generated template match test.

Overrides:
matches in class Moniker
Parameters:
c - The object to be checked against this template.
Returns:
true if this (as a template) matches the argument

_matches_helper

public boolean _matches_helper(TraderMoniker c)
Internal IDL-generated match test helper


writeObject

public void writeObject(ObjectOutputStream out)
                 throws java.io.IOException
Internal IDL-generated serialisation helper. Used by ObjectInputStream and ObjectOutputStream only.

Overrides:
writeObject in class Moniker
Throws:
java.io.IOException

readObject

public void readObject(ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException,
                       java.lang.InstantiationException
Internal IDL-generated serialisation helper. Used by ObjectInputStream and ObjectOutputStream only.

Overrides:
readObject in class Moniker
Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException