Class AetherCodecUtil.ProtocolUDP

  • All Implemented Interfaces:
    Protocol
    Enclosing interface:
    AetherCodecUtil

    public static class AetherCodecUtil.ProtocolUDP
    extends java.lang.Object
    implements Protocol
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtocolUDP()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fromSocket​(Value<byte[]> data, io.aether.utils.interfaces.AConsumer<Value<byte[]>> result)  
      void toSocket​(Value<byte[]> data, io.aether.utils.interfaces.AConsumer<Value<byte[]>> result)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtocolUDP

        public ProtocolUDP()
    • Method Detail

      • fromSocket

        public void fromSocket​(Value<byte[]> data,
                               io.aether.utils.interfaces.AConsumer<Value<byte[]>> result)
        Specified by:
        fromSocket in interface Protocol
      • toSocket

        public void toSocket​(Value<byte[]> data,
                             io.aether.utils.interfaces.AConsumer<Value<byte[]>> result)
        Specified by:
        toSocket in interface Protocol