gcc/libjava/java/nio/channels/ServerSocketChannel.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

47 lines
1.1 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_nio_channels_ServerSocketChannel__
#define __java_nio_channels_ServerSocketChannel__
#pragma interface
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
extern "Java"
{
namespace java
{
namespace net
{
class ServerSocket;
}
namespace nio
{
namespace channels
{
class ServerSocketChannel;
class SocketChannel;
namespace spi
{
class SelectorProvider;
}
}
}
}
}
class java::nio::channels::ServerSocketChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
{
public: // actually protected
ServerSocketChannel(::java::nio::channels::spi::SelectorProvider *);
public:
virtual ::java::nio::channels::SocketChannel * accept() = 0;
virtual ::java::net::ServerSocket * socket() = 0;
static ::java::nio::channels::ServerSocketChannel * open();
virtual jint validOps();
static ::java::lang::Class class$;
};
#endif // __java_nio_channels_ServerSocketChannel__