|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.message.EndPointRegistration
Encapsulates information about a remote EndPoint like a
MessageReceiver, MessageSender,
MessageService, etc. Information registered with the remote
EndPoint includes:
| Constructor Summary | |
EndPointRegistration(EndPoint endPoint,
Connection connection,
String contentType)
Create a new RemoteEndPointRegistration. |
|
| Method Summary | |
Connection |
getConnection()
Get the Connection associated with the registration. |
String |
getContentType()
Get the content type. |
EndPoint |
getEndPoint()
Get the EndPoint associated with the registration. |
void |
recycle()
Recycle the resources of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EndPointRegistration(EndPoint endPoint,
Connection connection,
String contentType)
throws ProtocolException
endPoint - the EndPoint, which must be remote.connection - the Connection associated with the remote EndPoint.contentType - the content type of the Messages send or received
by the remote EndPoint.
ProtocolException - if any parameter is invalid or
incomplete.| Method Detail |
public void recycle()
recycle in interface Recyclablepublic EndPoint getEndPoint()
public Connection getConnection()
public String getContentType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||