Package | Description |
---|---|
net.jini.jeri.tcp |
Provides implementations of the
Endpoint and
ServerEndpoint abstractions that use TCP sockets
as the underlying communication mechanism. |
Modifier and Type | Field and Description |
---|---|
private static Map<TcpEndpoint,WeakReference<TcpEndpoint>> |
TcpEndpoint.internTable
weak set of canonical instances; in order to use WeakHashMap,
maps canonical instances to weak references to themselves
|
private static Map<TcpEndpoint,WeakReference<TcpEndpoint>> |
TcpEndpoint.internTable
weak set of canonical instances; in order to use WeakHashMap,
maps canonical instances to weak references to themselves
|
Modifier and Type | Method and Description |
---|---|
static TcpEndpoint |
TcpEndpoint.getInstance(String host,
int port)
Returns a
TcpEndpoint instance for the given
host name and TCP port number. |
static TcpEndpoint |
TcpEndpoint.getInstance(String host,
int port,
SocketFactory sf)
Returns a
TcpEndpoint instance for the given host
name and TCP port number that contains the given
SocketFactory . |
(package private) TcpEndpoint |
TcpEndpoint.Handle.getTcpEndpoint() |
private static TcpEndpoint |
TcpEndpoint.intern(TcpEndpoint endpoint)
Returns canonical instance equivalent to given instance.
|
Modifier and Type | Method and Description |
---|---|
private static TcpEndpoint |
TcpEndpoint.intern(TcpEndpoint endpoint)
Returns canonical instance equivalent to given instance.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.