Definition at line 20 of file ConnectionEndPoint.cs.
Deveel.Data.Protocol.ConnectionEndPoint.ConnectionEndPoint |
( |
string |
protocol, |
|
|
string |
address |
|
) |
| |
|
inline |
Definition at line 21 of file ConnectionEndPoint.cs.
22 if (
String.IsNullOrEmpty(protocol))
23 throw new ArgumentNullException(
"protocol");
24 if (
String.IsNullOrEmpty(address))
25 throw new ArgumentNullException(
"address");
A long string in the system.
Definition at line 37 of file ConnectionEndPoint.cs.
38 if (
String.IsNullOrEmpty(s))
39 throw new ArgumentNullException(
"s");
41 var index = s.IndexOf(
':');
43 throw new FormatException();
45 var protocol = s.Substring(0, index).Trim();
46 var address = s.Substring(index + 1).Trim();
48 if (
String.IsNullOrEmpty(protocol))
49 throw new FormatException();
51 if (
String.IsNullOrEmpty(address))
52 throw new FormatException();
A long string in the system.
ConnectionEndPoint(string protocol, string address)
string Deveel.Data.Protocol.ConnectionEndPoint.Address |
|
getprivate set |
string Deveel.Data.Protocol.ConnectionEndPoint.Protocol |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Protocol/ConnectionEndPoint.cs