org.jacorb.orb
public abstract class IORMutator extends 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 $
Field Summary | |
---|---|
protected Connection | connectionconnection is the ETF transport describing the connection
that this mutator is used for. |
Method Summary | |
---|---|
abstract IOR | mutateIncoming(IOR object)mutateIncoming is called by CDRInputStream::readObject.
|
abstract IOR | mutateOutgoing(IOR object)mutateOutgoing is called by CDROutputStream::writeObject.
|
void | updateConnection(Connection connection)updateConnection is used to update the ETFConnection information.
|
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.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
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
updateConnection
is used to update the ETFConnection information.
Parameters: connection a Connection
value