blob: 0b90e0b55703bc5db7e5615a15bacce1f20f58b3 [file] [log] [blame]
Richard S. Hall70b28fb2006-10-18 22:05:15 +00001/*
2 * $Header: /cvshome/build/ee.foundation/src/javax/microedition/io/Datagram.java,v 1.6 2006/03/14 01:20:29 hargrave Exp $
3 *
4 * (C) Copyright 2001 Sun Microsystems, Inc.
5 * Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20package javax.microedition.io;
21public abstract interface Datagram extends java.io.DataInput, java.io.DataOutput {
22 public abstract java.lang.String getAddress();
23 public abstract byte[] getData();
24 public abstract int getLength();
25 public abstract int getOffset();
26 public abstract void reset();
27 public abstract void setAddress(javax.microedition.io.Datagram var0);
28 public abstract void setAddress(java.lang.String var0) throws java.io.IOException;
29 public abstract void setData(byte[] var0, int var1, int var2);
30 public abstract void setLength(int var0);
31}
32