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.Modifier and Type | Field and Description |
---|---|
protected org.omg.ETF.Connection |
connection
connection is the ETF transport describing the connection
that this mutator is used for. |
Constructor and Description |
---|
IORMutator() |
Modifier and Type | Method and Description |
---|---|
abstract IOR |
mutateIncoming(IOR object)
mutateIncoming is called by CDRInputStream::readObject. |
abstract IOR |
mutateOutgoing(IOR object)
mutateOutgoing is called by CDROutputStream::writeObject. |
void |
updateConnection(org.omg.ETF.Connection connection)
updateConnection is used to update the ETFConnection information. |
protected org.omg.ETF.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.public void updateConnection(org.omg.ETF.Connection connection)
updateConnection
is used to update the ETFConnection information.connection
- a Connection
valuepublic abstract IOR mutateIncoming(IOR object)
mutateIncoming
is called by CDRInputStream::readObject.
This allows the user to alter the IOR according the their own wishes.object
- an IOR
valueIOR
valueCopyright © 2017 JacORB. All rights reserved.