All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flash3388.flashlib.net.hfcs.DataReceivedEvent Maven / Gradle / Ivy

The newest version!
package com.flash3388.flashlib.net.hfcs;

import com.flash3388.flashlib.util.unique.InstanceId;
import com.notifier.Event;

public class DataReceivedEvent implements Event {

    private final InstanceId mSender;
    private final InType mType;
    private final T mData;

    public DataReceivedEvent(InstanceId sender, InType type, T data) {
        mSender = sender;
        mType = type;
        mData = data;
    }

    public InstanceId getSender() {
        return mSender;
    }

    public InType getType() {
        return mType;
    }

    public T getData() {
        return mData;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy