/*
* $Id$
*
* Copyright (C) 2003-2015 JNode.org
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; If not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package java.net;
/**
* @see java.net.PlainDatagramSocketImpl
*/
class NativePlainDatagramSocketImpl {
/**
* @see java.net.PlainDatagramSocketImpl#bind0(int, java.net.InetAddress)
*/
private static void bind0(PlainDatagramSocketImpl instance, int arg1, InetAddress arg2) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#send(java.net.DatagramPacket)
*/
private static void send(PlainDatagramSocketImpl instance, DatagramPacket arg1) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#peek(java.net.InetAddress)
*/
private static int peek(PlainDatagramSocketImpl instance, InetAddress arg1) {
//todo implement it
//return 0;
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#peekData(java.net.DatagramPacket)
*/
private static int peekData(PlainDatagramSocketImpl instance, DatagramPacket arg1) {
//todo implement it
return 0;
}
/**
* @see java.net.PlainDatagramSocketImpl#receive0(java.net.DatagramPacket)
*/
private static void receive0(PlainDatagramSocketImpl instance, DatagramPacket arg1) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#setTimeToLive(int)
*/
private static void setTimeToLive(PlainDatagramSocketImpl instance, int arg1) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#getTimeToLive()
*/
private static int getTimeToLive(PlainDatagramSocketImpl instance) {
//todo implement it
//return 0;
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#setTTL(byte)
*/
private static void setTTL(PlainDatagramSocketImpl instance, byte arg1) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#getTTL()
*/
private static byte getTTL(PlainDatagramSocketImpl instance) {
//todo implement it
//return 0;
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#join(java.net.InetAddress, java.net.NetworkInterface)
*/
private static void join(PlainDatagramSocketImpl instance, InetAddress arg1, NetworkInterface arg2) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#leave(java.net.InetAddress, java.net.NetworkInterface)
*/
private static void leave(PlainDatagramSocketImpl instance, InetAddress arg1, NetworkInterface arg2) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#datagramSocketCreate()
*/
private static void datagramSocketCreate(PlainDatagramSocketImpl instance) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#datagramSocketClose()
*/
private static void datagramSocketClose(PlainDatagramSocketImpl instance) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#socketSetOption(int, java.lang.Object)
*/
private static void socketSetOption(PlainDatagramSocketImpl instance, int arg1, Object arg2) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#socketGetOption(int)
*/
private static Object socketGetOption(PlainDatagramSocketImpl instance, int arg1) {
//todo implement it
//return null;
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#connect0(java.net.InetAddress, int)
*/
private static void connect0(PlainDatagramSocketImpl instance, InetAddress arg1, int arg2) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#disconnect0(int)
*/
private static void disconnect0(PlainDatagramSocketImpl instance, int arg1) {
//todo implement it
throw new UnsupportedOperationException();
}
/**
* @see java.net.PlainDatagramSocketImpl#init()
*/
private static void init() {
//todo implement it
throw new UnsupportedOperationException();
}
}