Class NetworkPortsSerializer


  • public class NetworkPortsSerializer
    extends java.lang.Object
    Serializes network port allocations to/from JSON.
    Author:
    arnej
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<NetworkPorts> fromSlime​(com.yahoo.slime.Inspector array)  
      static void toSlime​(NetworkPorts networkPorts, com.yahoo.slime.Cursor array)  
      • Methods inherited from class java.lang.Object

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

      • NetworkPortsSerializer

        public NetworkPortsSerializer()
    • Method Detail

      • toSlime

        public static void toSlime​(NetworkPorts networkPorts,
                                   com.yahoo.slime.Cursor array)
      • fromSlime

        public static java.util.Optional<NetworkPorts> fromSlime​(com.yahoo.slime.Inspector array)