Class Network

java.lang.Object
net.pl3x.map.core.network.Network

public abstract class Network extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.google.common.io.ByteArrayDataInput
    in(byte[] bytes)
     
    protected com.google.common.io.ByteArrayDataOutput
    out()
     
    abstract void
     
    protected abstract <T> void
    send(T player, com.google.common.io.ByteArrayDataOutput out)
     
    protected abstract <T> void
    sendMapData(T player, int id)
     
    protected abstract <T> void
    sendServerData(T player)
     
    abstract void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Network

      public Network()
  • Method Details

    • register

      public abstract void register()
    • unregister

      public abstract void unregister()
    • sendServerData

      protected abstract <T> void sendServerData(T player)
    • sendMapData

      protected abstract <T> void sendMapData(T player, int id)
    • send

      protected abstract <T> void send(T player, com.google.common.io.ByteArrayDataOutput out)
    • out

      protected com.google.common.io.ByteArrayDataOutput out()
    • in

      protected com.google.common.io.ByteArrayDataInput in(byte[] bytes)