Initializes a new instance of the
Address class.
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic Address(
string protocol,
string system,
string host = null,
Nullable<int> port = null
)
Public Sub New (
protocol As String,
system As String,
Optional host As String = Nothing,
Optional port As Nullable(Of Integer) = Nothing
)
public:
Address(
String^ protocol,
String^ system,
String^ host = nullptr,
Nullable<int> port = nullptr
)
new :
protocol : string *
system : string *
?host : string *
?port : Nullable<int>
(* Defaults:
let _host = defaultArg host null
let _port = defaultArg port null
*)
-> Address
Parameters
- protocol
- Type: SystemString
The protocol. - system
- Type: SystemString
The system. - host (Optional)
- Type: SystemString
The host. - port (Optional)
- Type: SystemNullableInt32
The port.
See Also