public class SocketImpl extends Object implements Socket
| Modifier and Type | Class and Description |
|---|---|
static class |
SocketImpl.ParsedSocketLine |
| Modifier and Type | Field and Description |
|---|---|
protected String |
f_local_address |
protected String |
f_rem_address |
protected String |
f_retrnsmt |
protected String |
f_rx_queue |
protected String |
f_timeout |
protected String |
f_tm_when |
protected String |
f_tr |
protected String |
f_tx_queue |
protected long |
inode |
protected InetSocketAddress |
localAddress |
protected boolean |
parseLocalAddr |
protected boolean |
parseRemoteAddr |
protected InetSocketAddress |
remoteAddress |
protected int |
sl |
protected int |
st |
protected int |
uid |
| Modifier | Constructor and Description |
|---|---|
protected |
SocketImpl(SocketImpl.ParsedSocketLine parsedLine) |
| Modifier and Type | Method and Description |
|---|---|
static List<SocketImpl> |
createSnapshot()
Создает снимок списока сокетов
|
protected static List<SocketImpl> |
createSnapshot(Func1<SocketImpl,SocketImpl.ParsedSocketLine> createSocketObj,
String... fileNames) |
long |
getInode()
Возвращает i-node сокета
|
InetSocketAddress |
getLocalAddress()
Возвращает локальный адрес
|
InetSocketAddress |
getRemoteAddress()
Возвращает удаленный адрес
|
protected int sl
protected String f_local_address
protected String f_rem_address
protected int st
protected String f_tx_queue
protected String f_rx_queue
protected String f_tr
protected String f_tm_when
protected String f_retrnsmt
protected int uid
protected String f_timeout
protected long inode
protected InetSocketAddress localAddress
protected boolean parseLocalAddr
protected InetSocketAddress remoteAddress
protected boolean parseRemoteAddr
protected SocketImpl(SocketImpl.ParsedSocketLine parsedLine)
public InetSocketAddress getLocalAddress()
getLocalAddress in interface Socketpublic InetSocketAddress getRemoteAddress()
getRemoteAddress in interface Socketpublic long getInode()
protected static List<SocketImpl> createSnapshot(Func1<SocketImpl,SocketImpl.ParsedSocketLine> createSocketObj, String... fileNames)
public static List<SocketImpl> createSnapshot()
Copyright © 2018. All rights reserved.