/* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */

#ifndef NATIVE_EXTENSION_VTK_VTKSERVERSOCKETWRAP_H
#define NATIVE_EXTENSION_VTK_VTKSERVERSOCKETWRAP_H

#include <nan.h>

#include <vtkSmartPointer.h>
#include <vtkServerSocket.h>

#include "vtkSocketWrap.h"
#include "../../plus/plus.h"

class VtkServerSocketWrap : public VtkSocketWrap
{
	public:
		using Nan::ObjectWrap::Wrap;
		static void Init(v8::Local<v8::Object> exports);
		static void InitPtpl();
		static void ConstructorGetter(
			v8::Local<v8::String> property,
			const Nan::PropertyCallbackInfo<v8::Value>& info);

		VtkServerSocketWrap(vtkSmartPointer<vtkServerSocket>);
		VtkServerSocketWrap();
		~VtkServerSocketWrap( );
		static Nan::Persistent<v8::FunctionTemplate> ptpl;

	private:
		static void New(const Nan::FunctionCallbackInfo<v8::Value>& info);

		static void CreateServer(const Nan::FunctionCallbackInfo<v8::Value>& info);
		static void GetServerPort(const Nan::FunctionCallbackInfo<v8::Value>& info);
		static void NewInstance(const Nan::FunctionCallbackInfo<v8::Value>& info);
		static void SafeDownCast(const Nan::FunctionCallbackInfo<v8::Value>& info);
		static void WaitForConnection(const Nan::FunctionCallbackInfo<v8::Value>& info);

#ifdef VTK_NODE_PLUS_VTKSERVERSOCKETWRAP_CLASSDEF
		VTK_NODE_PLUS_VTKSERVERSOCKETWRAP_CLASSDEF
#endif
};

#endif
