Sha256: 5326ed8f740cd75d2461519dda5590c5efc21c813d5f702f1a7b0452d19296b9

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

package com.rubyeventmachine;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;

public class NullEventableChannel implements EventableChannel
{
	public void scheduleOutboundData(ByteBuffer bb)
	{
	}

	public void scheduleOutboundDatagram(ByteBuffer bb, String recipAddress, int recipPort)
	{
	}

	public boolean scheduleClose(boolean afterWriting)
	{
		return false;
	}

	public void startTls()
	{
	}

	public long getBinding()
	{
		return 0;
	}

	public void readInboundData(ByteBuffer dst) throws IOException
	{
	}

	public void register() throws ClosedChannelException
	{
	}

	public void close()
	{
	}

	public boolean writeOutboundData() throws IOException
	{
		return false;
	}

	public void setCommInactivityTimeout(long seconds)
	{
	}

	public Object[] getPeerName()
	{
		return new Object[0];
	}

	public Object[] getSockName()
	{
		return new Object[0];
	}

	public boolean isWatchOnly()
	{
		return false;
	}

	public boolean isNotifyReadable()
	{
		return false;
	}

	public boolean isNotifyWritable()
	{
		return false;
	}

	public long getOutboundDataSize ()
	{
		return 0;
	}
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
eventmachine-mkroman-1.3.0.dev.1 java/src/com/rubyeventmachine/NullEventableChannel.java
wj_eventmachine-1.3.2 java/src/com/rubyeventmachine/NullEventableChannel.java
wj_eventmachine-1.3.1 java/src/com/rubyeventmachine/NullEventableChannel.java
wj_eventmachine-1.3.0.dev.1 java/src/com/rubyeventmachine/NullEventableChannel.java