T - typepublic interface Connection<T> extends AutoCloseable
void open() throws NetworkException
NetworkExceptionvoid write(T obj) throws NetworkException
obj - NetworkExceptionvoid close() throws NetworkException
close in interface AutoCloseableNetworkExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.