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

com.zusmart.base.looper.support.AbstractEventLoop Maven / Gradle / Ivy

Go to download

提供基础的工具类及方法类,Logging,Scanner,Buffer,NetWork,Future,Thread

There is a newer version: 1.0.6
Show newest version
package com.zusmart.base.looper.support;

import com.zusmart.base.activity.support.AbstractActivity;
import com.zusmart.base.looper.EventLoop;
import com.zusmart.base.looper.EventLoopGroup;

public abstract class AbstractEventLoop extends AbstractActivity implements EventLoop {

	private final String eventLoopName;
	private final EventLoopGroup eventLoopGroup;

	protected AbstractEventLoop(String eventLoopName, EventLoopGroup eventLoopGroup) {
		this.eventLoopName = eventLoopName;
		this.eventLoopGroup = eventLoopGroup;
	}

	@Override
	public String getEventLoopName() {
		return this.eventLoopName;
	}

	@Override
	public EventLoopGroup getEventLoopGroup() {
		return this.eventLoopGroup;
	}

	@Override
	protected EventLoop getActivity() {
		return this;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy