| Home >> All >> com >> barteo >> cldc >> [ datagram Javadoc ] |
Source code: com/barteo/cldc/datagram/Connection.java
1 package com.barteo.cldc.datagram; 2 3 import java.io.IOException; 4 import javax.microedition.io.Datagram; 5 import javax.microedition.io.DatagramConnection; 6 7 8 public class Connection implements DatagramConnection 9 { 10 static final String NOT_IMPLEMENTED = "Not implemented"; 11 12 13 public void close() 14 throws IOException 15 { 16 throw new IOException(NOT_IMPLEMENTED); 17 } 18 19 20 public int getMaximumLength() 21 throws IOException 22 { 23 throw new IOException(NOT_IMPLEMENTED); 24 } 25 26 27 public int getNominalLength() 28 throws IOException 29 { 30 throw new IOException(NOT_IMPLEMENTED); 31 } 32 33 34 public void send(Datagram dgram) 35 throws IOException 36 { 37 throw new IOException(NOT_IMPLEMENTED); 38 } 39 40 41 public void receive(Datagram dgram) 42 throws IOException 43 { 44 throw new IOException(NOT_IMPLEMENTED); 45 } 46 47 48 public Datagram newDatagram(int size) 49 throws IOException 50 { 51 throw new IOException(NOT_IMPLEMENTED); 52 } 53 54 55 public Datagram newDatagram(int size, String addr) 56 throws IOException 57 { 58 throw new IOException(NOT_IMPLEMENTED); 59 } 60 61 62 public Datagram newDatagram(byte[] buf, int size) 63 throws IOException 64 { 65 throw new IOException(NOT_IMPLEMENTED); 66 } 67 68 69 public Datagram newDatagram(byte[] buf, int size, String addr) 70 throws IOException 71 { 72 throw new IOException(NOT_IMPLEMENTED); 73 } 74 75 }