Ejemplo n.º 1
0
 /** @since Available in iOS 2.0 and later. */
 public NSStream setSocketSecurityLevel(NSStreamSocketSecurityLevel securityLevel) {
   setProperty(NSStreamProperty.SocketSecurityLevel, securityLevel.value());
   return this;
 }
Ejemplo n.º 2
0
 /** @since Available in iOS 2.0 and later. */
 public NSStreamSocketSecurityLevel getSocketSecurityLevel() {
   NSString val = (NSString) getProperty(NSStreamProperty.SocketSecurityLevel);
   return NSStreamSocketSecurityLevel.valueOf(val);
 }