Package py4j.examples

Class PingPong

  • All Implemented Interfaces:
    IPong

    public class PingPong
    extends java.lang.Object
    implements IPong
    • Constructor Summary

      Constructors 
      Constructor Description
      PingPong()  
      PingPong​(boolean fail)  
    • Constructor Detail

      • PingPong

        public PingPong()
      • PingPong

        public PingPong​(boolean fail)
    • Method Detail

      • start

        public int start​(IPing ping)
      • pong1

        public int pong1​(IPing ping)
        Specified by:
        pong1 in interface IPong
      • pong2

        public int pong2​(IPing ping)
        Specified by:
        pong2 in interface IPong
      • pong3

        public int pong3​(IPing ping)
        Specified by:
        pong3 in interface IPong