• R/O
  • SSH
  • HTTPS

matereal: 提交


Commit MetaInfo

修订版184 (tree)
时间2010-09-20 12:07:40
作者arc

Log Message

added getHost, getPort methods.

更改概述

差异

--- connector/trunk/src/jp/digitalmuseum/connector/SocketConnector.java (revision 183)
+++ connector/trunk/src/jp/digitalmuseum/connector/SocketConnector.java (revision 184)
@@ -103,6 +103,14 @@
103103 return socket != null;
104104 }
105105
106+ public String getHost() {
107+ return host;
108+ }
109+
110+ public int getPort() {
111+ return port;
112+ }
113+
106114 public String getConnectionString() {
107115 return CON_PREFIX+host+":"+port;
108116 }
Show on old repository browser