Interface DataChannelCallback.Error

Enclosing interface:
DataChannelCallback
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DataChannelCallback.Error
Called when the channel experiences an error, either while connecting or open.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(DataChannel channel, String error)