org.jacorb.orb
Class IORMutator
java.lang.Object
org.jacorb.orb.IORMutator
public abstract class IORMutator
- extends java.lang.Object
IORMutator is a low level plugin that allows the user
to mutate incoming or outgoing objects at the CDRStream level. If
the plugin is enabled both mutators will be called by the respective
CDRStreams.
Note - While this allows the user a lot of power altering objects at
a very low level, it is the user's responsibility to ensure that any
IOR returned is valid.
- Version:
- $Id: IORMutator.java,v 1.1 2006/07/10 08:56:00 alphonse.bendt Exp $
- Author:
- Nick Cross
|
Field Summary |
protected Connection |
connection
connection is the ETF transport describing the connection
that this mutator is used for. |
|
Method Summary |
abstract org.omg.IOP.IOR |
mutateIncoming(org.omg.IOP.IOR object)
mutateIncoming is called by CDRInputStream::readObject. |
abstract org.omg.IOP.IOR |
mutateOutgoing(org.omg.IOP.IOR object)
mutateOutgoing is called by CDROutputStream::writeObject. |
void |
updateConnection(Connection connection)
updateConnection is used to update the ETFConnection information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected Connection connection
connection is the ETF transport describing the connection
that this mutator is used for. This should not be altered by the user;
any attempt to do so is undefined.
IORMutator
public IORMutator()
updateConnection
public void updateConnection(Connection connection)
updateConnection is used to update the ETFConnection information.
- Parameters:
connection - a Connection value
mutateIncoming
public abstract org.omg.IOP.IOR mutateIncoming(org.omg.IOP.IOR object)
mutateIncoming is called by CDRInputStream::readObject.
This allows the user to alter the IOR according the their own wishes.
- Parameters:
object - an IOR value
- Returns:
- an
IOR value
mutateOutgoing
public abstract org.omg.IOP.IOR mutateOutgoing(org.omg.IOP.IOR object)
mutateOutgoing is called by CDROutputStream::writeObject.
This allows the user to alter the IOR according the their own wishes.
- Parameters:
object - an IOR value
- Returns:
- an
IOR value