Package system.net
Class ServicePoint
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.ServicePoint
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ServicePoint extends NetObject
The base .NET class managing System.Net.ServicePoint, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.ServicePoint
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Net.ServicePointstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ServicePoint()ServicePoint(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServicePointcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoServicePoint, a cast assert is made to check if types are compatible.booleanCloseConnectionGroup(java.lang.String connectionGroupName)UrigetAddress()BindIPEndPointgetBindIPEndPointDelegate()X509CertificategetCertificate()X509CertificategetClientCertificate()intgetConnectionLeaseTimeout()intgetConnectionLimit()java.lang.StringgetConnectionName()intgetCurrentConnections()booleangetExpect100Continue()DateTimegetIdleSince()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetMaxIdleTime()VersiongetProtocolVersion()intgetReceiveBufferSize()booleangetSupportsPipelining()booleangetUseNagleAlgorithm()voidsetBindIPEndPointDelegate(BindIPEndPoint BindIPEndPointDelegate)voidsetConnectionLeaseTimeout(int ConnectionLeaseTimeout)voidsetConnectionLimit(int ConnectionLimit)voidsetExpect100Continue(boolean Expect100Continue)voidsetJCOInstance(JCObject instance)voidsetMaxIdleTime(int MaxIdleTime)voidsetReceiveBufferSize(int ReceiveBufferSize)voidSetTcpKeepAlive(boolean enabled, int keepAliveTime, int keepAliveInterval)voidsetUseNagleAlgorithm(boolean UseNagleAlgorithm)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.ServicePoint- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ServicePoint cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoServicePoint, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ServicePointinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CloseConnectionGroup
public boolean CloseConnectionGroup(java.lang.String connectionGroupName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, SocketException, IndexOutOfRangeException, FormatException, NetworkInformationException, WaitHandleCannotBeOpenedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionAbandonedMutexExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionNetworkInformationExceptionWaitHandleCannotBeOpenedException
-
SetTcpKeepAlive
public void SetTcpKeepAlive(boolean enabled, int keepAliveTime, int keepAliveInterval) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getExpect100Continue
public boolean getExpect100Continue() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setExpect100Continue
public void setExpect100Continue(boolean Expect100Continue) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSupportsPipelining
public boolean getSupportsPipelining() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUseNagleAlgorithm
public boolean getUseNagleAlgorithm() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseNagleAlgorithm
public void setUseNagleAlgorithm(boolean UseNagleAlgorithm) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getConnectionLeaseTimeout
public int getConnectionLeaseTimeout() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setConnectionLeaseTimeout
public void setConnectionLeaseTimeout(int ConnectionLeaseTimeout) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getConnectionLimit
public int getConnectionLimit() throws java.lang.Throwable, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ArgumentOutOfRangeException, SocketException, ConfigurationException, MissingManifestResourceException, SecurityException, InvalidOperationException, NotSupportedException, FormatException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, NetworkInformationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSocketExceptionConfigurationExceptionMissingManifestResourceExceptionSecurityExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionNetworkInformationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
setConnectionLimit
public void setConnectionLimit(int ConnectionLimit) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, SocketException, IndexOutOfRangeException, FormatException, ObjectDisposedException, OutOfMemoryException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NetworkInformationException, WaitHandleCannotBeOpenedException, ConfigurationErrorsException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionOutOfMemoryExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNetworkInformationExceptionWaitHandleCannotBeOpenedExceptionConfigurationErrorsException
-
getCurrentConnections
public int getCurrentConnections() throws java.lang.Throwable, ArgumentException- Throws:
java.lang.ThrowableArgumentException
-
getMaxIdleTime
public int getMaxIdleTime() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxIdleTime
public void setMaxIdleTime(int MaxIdleTime) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, FormatException, InvalidOperationException, InvalidTimeZoneException, OverflowException, NotSupportedException
-
getReceiveBufferSize
public int getReceiveBufferSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setReceiveBufferSize
public void setReceiveBufferSize(int ReceiveBufferSize) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getIdleSince
public DateTime getIdleSince() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBindIPEndPointDelegate
public BindIPEndPoint getBindIPEndPointDelegate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBindIPEndPointDelegate
public void setBindIPEndPointDelegate(BindIPEndPoint BindIPEndPointDelegate) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCertificate
public X509Certificate getCertificate() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException
-
getClientCertificate
public X509Certificate getClientCertificate() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException
-
getConnectionName
public java.lang.String getConnectionName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAddress
public Uri getAddress() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getProtocolVersion
public Version getProtocolVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-