|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Endpoint
An endpoint receives messages from clients and decodes them, then sends them on to a MessageBroker for routing to a service. The endpoint also encodes messages and delivers them to clients. Endpoints are specific to a message format and network transport, and are defined by the named URI path on which they are located.
| Method Summary | |
|---|---|
ConfigMap |
describeEndpoint()
Returns a ConfigMap of endpoint properties that the client
needs. |
String |
getClientType()
Returns the corresponding client channel type for the endpoint. |
String |
getId()
All endpoints are referenceable by an id that is unique among all the endpoints registered to a single broker instance. |
MessageBroker |
getMessageBroker()
All endpoints must be managed by a single MessageBroker, and must be capable of returning a reference to that broker. |
int |
getPort()
Returns the port of the url of the endpoint. |
flex.messaging.config.SecurityConstraint |
getSecurityConstraint()
Returns the security constraint of the endpoint. |
String |
getUrl()
Returns the url of the endpoint. |
void |
initialize(String id,
ConfigMap properties)
Initialize the endpoint with id and properties. |
boolean |
isSecure()
Specifies whether this protocol requires the secure HTTPS protocol. |
boolean |
isStarted()
Returns whether the endpoint is started or not. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Respond to HTTP-based messages published by a client. |
void |
setClientType(String clientType)
Sets the corresponding client channel type for the endpoint. |
void |
setId(String id)
All endpoints are referenceable by an id that is unique among all the endpoints registered to a single broker instance. |
void |
setMessageBroker(MessageBroker broker)
Sets the MessageBroker of the endpoint. |
void |
setSecurityConstraint(flex.messaging.config.SecurityConstraint constraint)
Sets the security constraint of the endpoint. |
void |
setUrl(String url)
Sets the url of the endpoint. |
void |
start()
Start the endpoint. |
void |
stop()
Stop and destroy the endpoint. |
| Methods inherited from interface flex.management.Manageable |
|---|
getControl, isManaged, setControl, setManaged |
| Method Detail |
|---|
void initialize(String id,
ConfigMap properties)
id - The id of the endpoint.properties - Properties of the endpoint.void start()
MessageBroker.startEndpoints()boolean isStarted()
true if the endpoint is started; otherwise false.void stop()
MessageBroker.stopEndpoints()String getClientType()
void setClientType(String clientType)
type - The corresponding client channel type for the endpoint.ConfigMap describeEndpoint()
ConfigMap of endpoint properties that the client
needs.
String getId()
void setId(String id)
MessageBroker getMessageBroker()
void setMessageBroker(MessageBroker broker)
MessageBroker of the endpoint.
broker - int getPort()
boolean isSecure()
flex.messaging.config.SecurityConstraint getSecurityConstraint()
void setSecurityConstraint(flex.messaging.config.SecurityConstraint constraint)
constraint -
void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
String getUrl()
void setUrl(String url)
url -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/endpoints/Endpoint.html