Skip to main content

Hi,

I am trying to use below solution(to detect websocket connection closure ) proposed at https://github.com/ringcentral/ringcentral-websocket-java but I am getting compile error stating that 'com.ringcentral.websocket.MyWebSocketClient' is not public in 'com.ringcentral.websocket'. Cannot be accessed from outside package


I am using ringcentral-websocket-0.2.0.jar . Can you pls suggest me how to fix this issue?


Solution To detect websocket connection closure mentioned at https://github.com/ringcentral/ringcentral-websocket-java

subscription.webSocketClient.closeListener=new CloseListener(){

@Override

public void listen(int code,String reason,boolean remote){

subscription.subscribe();

}

};


We will release a new version of the SDK to fix this issue.


New version 0.2.1 released.


Reply