diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-02-01 20:08:05 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-02-01 20:08:05 +0000 |
commit | 5bf8ee0c338a07130d7be1ed1fe9a2faab03d9b2 (patch) | |
tree | 23ee6089346b09ba4416222f7be4931bb90a2158 /java/src/IceInternal/TcpEndpoint.java | |
parent | fixing bug with unknown endpoint types (diff) | |
download | ice-5bf8ee0c338a07130d7be1ed1fe9a2faab03d9b2.tar.bz2 ice-5bf8ee0c338a07130d7be1ed1fe9a2faab03d9b2.tar.xz ice-5bf8ee0c338a07130d7be1ed1fe9a2faab03d9b2.zip |
fixing bug with unknown endpoint type
Diffstat (limited to 'java/src/IceInternal/TcpEndpoint.java')
-rw-r--r-- | java/src/IceInternal/TcpEndpoint.java | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/java/src/IceInternal/TcpEndpoint.java b/java/src/IceInternal/TcpEndpoint.java index 4664f9f763a..fd0fd5b6241 100644 --- a/java/src/IceInternal/TcpEndpoint.java +++ b/java/src/IceInternal/TcpEndpoint.java @@ -173,7 +173,7 @@ public final class TcpEndpoint extends Endpoint { return _timeout; } - + // // Return a new endpoint with a different timeout value, provided // that timeouts are supported by the endpoint. Otherwise the same @@ -191,7 +191,7 @@ public final class TcpEndpoint extends Endpoint return new TcpEndpoint(_instance, _host, _port, timeout); } } - + // // Return true if the endpoint is datagram-based. // @@ -200,7 +200,7 @@ public final class TcpEndpoint extends Endpoint { return false; } - + // // Return true if the endpoint is secure. // @@ -209,7 +209,16 @@ public final class TcpEndpoint extends Endpoint { return false; } - + + // + // Return true if the endpoint type is unknown. + // + public boolean + unknown() + { + return false; + } + // // Return a client side transceiver for this endpoint, or null if a // transceiver can only be created by a connector. |