LrJposChannel.disconnect

Disconnects the TCP/IP session. The instance is ready for a reconnection, without need to create a new channel.

public static void disconnect() throws IOException

Return values

This function does not return any values.

Example

Copy code
public int end() throws Throwable {
        
        LrJposChannel.disconnect();
        LrJposChannel.closeChannel();
        
        return 0;
 }