| java.lang.Object com.rift.coad.daemon.messageservice.rpc.RPCMessageClient
RPCMessageClient | public class RPCMessageClient (Code) | | This object is responsible for establishing a connection to the Message
Service and for setting the appropriate RPC proxy and handler so that
messages can be constructed appropriatly.
author: Brett Chaldecott |
Method Summary | |
public static Object | create(String from, Class targetInterface, Class asyncInterface, String targetURL) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | create(String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | create(String from, Class targetInterface, Class asyncInterface, String targetURL, String correlationId) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | create(String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast, String correlationId) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | create(InitialContext context, String jndiURL, String from, Class targetInterface, Class asyncInterface, String targetURL) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | create(InitialContext context, String jndiURL, String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | createOneWay(String from, Class targetInterface, Class asyncInterface, String targetURL) This method is called to setup a async interface so that messages can
be sent properly. | public static Object | createOneWay(String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast) This method is called to setup a async interface so that messages can
be sent properly. |
create | public static Object create(String from, Class targetInterface, Class asyncInterface, String targetURL) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly.
The reference that was created. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: targetURL - The target url for the message. exception: RPCMessageClientException - |
create | public static Object create(String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly.
The reference that was created. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: services - The list of services for this rpc message Parameters: broadcast - If true this message will be sent to all daemons supplingthe given service. exception: RPCMessageClientException - |
create | public static Object create(String from, Class targetInterface, Class asyncInterface, String targetURL, String correlationId) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly.
The reference that was created. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: targetURL - The target url for the message. Parameters: correlationId - The correlation id for this message. exception: RPCMessageClientException - |
create | public static Object create(String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast, String correlationId) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly.
The reference that was created. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: services - The list of services for this rpc message Parameters: broadcast - If true this message will be sent to all daemons supplingthe given service. Parameters: correlationId - The correlation id for this message. exception: RPCMessageClientException - |
create | public static Object create(InitialContext context, String jndiURL, String from, Class targetInterface, Class asyncInterface, String targetURL) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly.
The reference that was created. Parameters: jndiURL - The url of the message producer. Parameters: context - The context of the message service. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: targetURL - The target url for the message. exception: RPCMessageClientException - |
create | public static Object create(InitialContext context, String jndiURL, String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly.
The reference that was created. Parameters: context - The context of the message service. Parameters: jndiURL - The url of the message producer. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: services - The list of services for this rpc message Parameters: broadcast - If true this message will be sent to all daemons supplingthe given service. exception: RPCMessageClientException - |
createOneWay | public static Object createOneWay(String from, Class targetInterface, Class asyncInterface, String targetURL) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly. The message will only go one way no result will be
received.
The reference that was created. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: targetURL - The target url for the message. exception: RPCMessageClientException - |
createOneWay | public static Object createOneWay(String from, Class targetInterface, Class asyncInterface, List services, boolean broadcast) throws RPCMessageClientException(Code) | | This method is called to setup a async interface so that messages can
be sent properly. The message will only go one way no result will be
received.
The reference that was created. Parameters: from - The address all the requests will come from. Parameters: targetInterface - The target interface. Parameters: asyncInterface - The asynchronis interface. Parameters: services - The list of services for this rpc message Parameters: broadcast - If true this message will be sent to all daemons supplingthe given service. exception: RPCMessageClientException - |
|
|