Class DatagramPacket
public class DatagramPacket : JVMBridgeBase<DatagramPacket>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<DatagramPacket>DatagramPacket
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<DatagramPacket>.IsAssignableFrom(IJavaType)JVMBridgeBase<DatagramPacket>.IsAssignableFrom<T>()JVMBridgeBase<DatagramPacket>.Execute<T>(params T[])JVMBridgeBase<DatagramPacket>.DynBridgeClazzJVMBridgeBase<DatagramPacket>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
DatagramPacket()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public DatagramPacket()
DatagramPacket(byte[], int)
public DatagramPacket(byte[] arg0, int arg1)
Parameters
DatagramPacket(byte[], int, InetAddress, int)
public DatagramPacket(byte[] arg0, int arg1, InetAddress arg2, int arg3)
Parameters
arg0
byte[]arg1
intarg2
InetAddressarg3
int
DatagramPacket(byte[], int, SocketAddress)
public DatagramPacket(byte[] arg0, int arg1, SocketAddress arg2)
Parameters
arg0
byte[]arg1
intarg2
SocketAddress
DatagramPacket(byte[], int, int)
public DatagramPacket(byte[] arg0, int arg1, int arg2)
Parameters
DatagramPacket(byte[], int, int, InetAddress, int)
public DatagramPacket(byte[] arg0, int arg1, int arg2, InetAddress arg3, int arg4)
Parameters
arg0
byte[]arg1
intarg2
intarg3
InetAddressarg4
int
DatagramPacket(byte[], int, int, SocketAddress)
public DatagramPacket(byte[] arg0, int arg1, int arg2, SocketAddress arg3)
Parameters
arg0
byte[]arg1
intarg2
intarg3
SocketAddress
DatagramPacket(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public DatagramPacket(params object[] args)
Parameters
args
object[]
Properties
Address
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#getAddress() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#setAddress(java.net.InetAddress)
public InetAddress Address { get; set; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Data
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#getData() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#setData(byte[])
public byte[] Data { get; set; }
Property Value
- byte[]
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Length
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#getLength() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#setLength(int)
public int Length { get; set; }
Property Value
Offset
public int Offset { get; }
Property Value
Port
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#getPort() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#setPort(int)
public int Port { get; set; }
Property Value
SocketAddress
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#getSocketAddress() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/DatagramPacket.html#setSocketAddress(java.net.SocketAddress)
public SocketAddress SocketAddress { get; set; }
Property Value
Methods
SetData(byte[], int, int)
public void SetData(byte[] arg0, int arg1, int arg2)