summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/TcpEndpoint.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2001-11-30 23:48:46 +0000
committerMark Spruiell <mes@zeroc.com>2001-11-30 23:48:46 +0000
commit4e9792008e61afe50c5d8daf834e5e8bcfd68248 (patch)
treedf68c05265997df95caa7394bef84f8c3b85cd01 /java/src/IceInternal/TcpEndpoint.java
parentinitial proxy implementation (diff)
downloadice-4e9792008e61afe50c5d8daf834e5e8bcfd68248.tar.bz2
ice-4e9792008e61afe50c5d8daf834e5e8bcfd68248.tar.xz
ice-4e9792008e61afe50c5d8daf834e5e8bcfd68248.zip
fixing compiler errors
Diffstat (limited to 'java/src/IceInternal/TcpEndpoint.java')
-rw-r--r--java/src/IceInternal/TcpEndpoint.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/java/src/IceInternal/TcpEndpoint.java b/java/src/IceInternal/TcpEndpoint.java
index dd74fccfa15..7e67a2f915d 100644
--- a/java/src/IceInternal/TcpEndpoint.java
+++ b/java/src/IceInternal/TcpEndpoint.java
@@ -27,7 +27,7 @@ public final class TcpEndpoint extends Endpoint
_port = 0;
_timeout = -1;
- String[] arr = init.split("[ \t\n\r]+");
+ String[] arr = str.split("[ \t\n\r]+");
int i = 0;
while (i < arr.length)
@@ -53,7 +53,7 @@ public final class TcpEndpoint extends Endpoint
throw new Ice.EndpointParseException();
}
- host = argument;
+ _host = argument;
break;
}
@@ -265,9 +265,12 @@ public final class TcpEndpoint extends Endpoint
public Acceptor
acceptor(Instance instance, EndpointHolder endpoint)
{
+ /* TODO - implement
TcpAcceptor p = new TcpAcceptor(instance, _port);
endpoint.value = new TcpEndpoint(_host, p.effectivePort(), _timeout);
return p;
+ */
+ return null;
}
//
@@ -283,6 +286,7 @@ public final class TcpEndpoint extends Endpoint
public boolean
equivalent(Acceptor acceptor)
{
+ /* TODO - implement
TcpAcceptor tcpAcceptor = null;
try
{
@@ -293,6 +297,8 @@ public final class TcpEndpoint extends Endpoint
return false;
}
return tcpAcceptor.equivalent(_host, _port);
+ */
+ return false;
}
//