Alachisoft.NCache.Common.Communication.IConnection Maven / Gradle / Ivy
package Alachisoft.NCache.Common.Communication;
import Alachisoft.NCache.Common.Communication.Exceptions.ConnectionException;
import java.net.UnknownHostException;
public interface IConnection {
void Bind(String ipAddress) throws UnknownHostException;
boolean Connect(String serverIP, int port) throws UnknownHostException, java.io.IOException;
void Disconnect();
boolean Send(byte[] buffer, int offset, int count) throws ConnectionException;
boolean Receive(byte[] buffer, int count) throws ConnectionException;
boolean getIsConnected();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy