PATH
WebObjects 4.5 Documentation >
EODistribution Reference
(informal interface)
Package:
com.apple.client.eodistribution.EODistributionContext
Interface Description
If a delegate object has been set, EODistributionChannel sends
messages to its delegate whenever the client is about to read data
sent from the server or write data going to the server. These delegate methods
give you the opportunity to implement encryption in client server
communication.
Instance Methods
public abstract NSData distributionContextWillReadFromStream(
EODistributionChannel distributionChannel,
java.io.OutputStream stream)
Invoked when the receiver before distributionChannel reads
data sent from the server. You can use this method and it's counterpart, distributionChannelWillWriteToStream,
to implement encryption in client server communication, encrypting
in distributionChannelWillWriteToStream and
decrypting in distributionChannelWillReadFromStream.
public abstract NSData distributionContextWillWriteToStream(
EODistributionChannel distributionChannel,
java.io.OutputStream stream)
Invoked before distributionChannel writes
data to send to the server. You can use this method and it's counterpart, distributionChannelWillReadFromStream,
to implement encryption in client/server communication, encrypting
in distributionChannelWillWriteToStream and
decrypting in distributionChannelWillReadFromStream.