All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Alachisoft.NCache.Common.Communication.IConnection Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy