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

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

package Alachisoft.NCache.Common.Communication;

import Alachisoft.NCache.Common.Communication.Exceptions.ChannelException;

public interface IChannel {

    boolean Connect() throws Exception;

    void Disconnect();

    boolean SendMessage(Object message) throws ChannelException, java.io.UnsupportedEncodingException;

    void RegisterEventListener(IChannelEventListener listener);

    void UnRegisterEventListener(IChannelEventListener listener);

    IChannelFormatter getFormatter();

    void setFormatter(IChannelFormatter value);

    String getName();

    void setName(String value);

    boolean getIsConnected();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy