Class DrasylAddress

java.lang.Object
java.net.SocketAddress
org.drasyl.identity.DrasylAddress
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IdentityPublicKey

public abstract class DrasylAddress extends SocketAddress
Models the address to a peer in the overlay. The address is used to send overlay messages to.
See Also:
  • Constructor Details

    • DrasylAddress

      public DrasylAddress()
  • Method Details

    • toByteArray

      public abstract byte[] toByteArray()
    • writeTo

      public abstract void writeTo(io.netty.buffer.ByteBuf out)
      Writes this public key to the buffer out.
      Parameters:
      out - writes this public key to the given buffer