Sha256: 66eab64f0caa123563b726310b315c52f828be888ecc2a9ebfc2d94499761fa9

Contents?: true

Size: 550 Bytes

Versions: 10

Compression:

Stored size: 550 Bytes

Contents

package com.toxi.nio;

import java.net.SocketAddress;

/**
 *
 * @author tux
 */
public class UDPClientState {
    SocketAddress addr;
    boolean isReady;
    long lastUpdate;

    /**
     *
     * @param a
     */
    public UDPClientState(SocketAddress a) {
        addr = a;
        isReady = true;
        lastUpdate = System.currentTimeMillis();
        System.out.println("new client: " + addr);
    }

    /**
     *
     * @return
     */
    public SocketAddress getAddress() {
        return addr;
    }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
toxiclibs-2.0.0 src/com/toxi/nio/UDPClientState.java
toxiclibs-1.0.0 src/com/toxi/nio/UDPClientState.java
toxiclibs-0.9.3 src/com/toxi/nio/UDPClientState.java
toxiclibs-0.9.2 src/com/toxi/nio/UDPClientState.java
toxiclibs-0.9.1 src/com/toxi/nio/UDPClientState.java
toxiclibs-0.9.0 src/com/toxi/nio/UDPClientState.java
toxiclibs-0.8.0 src/com/toxi/nio/UDPClientState.java
toxiclibs-0.6.0-java src/com/toxi/nio/UDPClientState.java
toxiclibs-0.5.1-java src/com/toxi/nio/UDPClientState.java
toxiclibs-0.5.0-java src/com/toxi/nio/UDPClientState.java