Inherits from: Object
Implements: NSInlineObservable
Package: com.apple.client.eodistribution
EODistributionChannel is an abstract class that defines the interface for objects implementing channels for communicating data between the client and the server in a distributed Enterprise Objects application. The com.apple.client.eodistribution package includes EOHTTPChannel, a concrete subclass of EODistributionChannel that handles communication via the HTTP protocol (the most common protocol in distributed Internet applications). You can create you own subclass of EODistributionChannel if you need client-server communication based on a different protocol such as CORBA/IIOP.
An EODistributionChannel object has a connection dictionary that contains the values required to establish a connection on the channel, for example port, host, and URL components. You can change the connection dictionary with the setConnectionDictionary method.
Objects of this class are for use with Java Client only; there is no equivalent class for Yellow Box applications.
NSInlineObservableobserverData setObserverData
- Getting an EODistributionChannel
- channelWithName
- Sending data on the channel
- establishConnection
- responseToMessage
- Setting and getting the connection dictionary
- connectionDictionary
- connectionKeys
- setConnectionDictionary
- Accessing the delegate
- delegate
- setDelegate
public static EODistributionChannel channelWithName(String className)
public NSDictionary connectionDictionary()
public abstract NSArray connectionKeys()
public Object delegate()
public abstract void establishConnection()
See Also: responseToMessage
public abstract Object responseToMessage(
Object aMessage,
NSCoder aCoder)
See Also: establishConnection
public void setConnectionDictionary(NSDictionary aDictionary)
public void setDelegate(Object delegate)