PATH  WebObjects 4.5 Documentation > EODistribution Reference

Table of Contents

EODistributionChannel.Delegate


(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



distributionChannelWillReadFromStream

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.

distributionChannelWillWriteToStream

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.


Table of Contents