| RpcHelperCreateClientT Method |
Creates a client for the specified RPC service.
Namespace:
Ookii.Jumbo.Rpc
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public static T CreateClient<T>(
string hostName,
int port,
string objectName
)
Public Shared Function CreateClient(Of T) (
hostName As String,
port As Integer,
objectName As String
) As T
public:
generic<typename T>
static T CreateClient(
String^ hostName,
int port,
String^ objectName
)
static member CreateClient :
hostName : string *
port : int *
objectName : string -> 'T
Parameters
- hostName
- Type: SystemString
The host name of the RPC server. - port
- Type: SystemInt32
The port of the RPC server. - objectName
- Type: SystemString
The object name of the service.
Type Parameters
- T
- The type of the RPC interface.
Return Value
Type:
TAn object that implements the specified interface that forwards all calls to the specified service.
See Also