public class UnixSocket extends Object
Modifier and Type | Method and Description |
---|---|
Channel |
getChannel() |
Credentials |
getCredentials()
Retrieves the credentials for this UNIX socket.
|
boolean |
getKeepAlive() |
void |
setKeepAlive(boolean on) |
public final Channel getChannel()
public final void setKeepAlive(boolean on)
public final boolean getKeepAlive()
public final Credentials getCredentials()
UnsupportedOperationException
- if the underlying socket library
doesn't support the SO_PEERCRED optionunix 7; SCM_CREDENTIALS
Copyright © 2015. All Rights Reserved.