@Immutable public final class SocketHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
close(ServerSocket aSocket)
Special close version for
ServerSocket as they are not implementing
Closeable :( |
static ESuccess |
close(Socket aSocket)
|
@Nonnull public static ESuccess close(@Nullable @WillClose Socket aSocket)
aSocket - The socket to be closed. May be null.ESuccess if the object was successfully closed.@Nonnull public static ESuccess close(@Nullable @WillClose ServerSocket aSocket)
ServerSocket as they are not implementing
Closeable :(aSocket - The socket to be closed. May be null.ESuccess if the object was successfully closed.Copyright © 2014–2016 Philip Helger. All rights reserved.