diff options
Diffstat (limited to 'java/src/IceInternal/UdpEndpointFactory.java')
-rw-r--r-- | java/src/IceInternal/UdpEndpointFactory.java | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/java/src/IceInternal/UdpEndpointFactory.java b/java/src/IceInternal/UdpEndpointFactory.java deleted file mode 100644 index 97815a9aff5..00000000000 --- a/java/src/IceInternal/UdpEndpointFactory.java +++ /dev/null @@ -1,58 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package IceInternal; - -final class UdpEndpointFactory implements EndpointFactory -{ - UdpEndpointFactory(ProtocolInstance instance) - { - _instance = instance; - } - - @Override - public short type() - { - return _instance.type(); - } - - @Override - public String protocol() - { - return _instance.protocol(); - } - - @Override - public EndpointI create(java.util.ArrayList<String> args, boolean oaEndpoint) - { - IPEndpointI endpt = new UdpEndpointI(_instance); - endpt.initWithOptions(args, oaEndpoint); - return endpt; - } - - @Override - public EndpointI read(BasicStream s) - { - return new UdpEndpointI(_instance, s); - } - - @Override - public void destroy() - { - _instance = null; - } - - @Override - public EndpointFactory clone(ProtocolInstance instance) - { - return new UdpEndpointFactory(instance); - } - - private ProtocolInstance _instance; -} |