Class NetManager
Main class for all network operations. Can be used as client and/or server.
Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public class NetManager : IEnumerable<NetPeer>, IEnumerable
Constructors
NetManager(INetEventListener, PacketLayerBase)
NetManager constructor
Declaration
public NetManager(INetEventListener listener, PacketLayerBase extraPacketLayer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| INetEventListener | listener | Network events listener (also can implement IDeliveryEventListener) |
| PacketLayerBase | extraPacketLayer | Extra processing of packages, like CRC checksum or encryption. All connected NetManagers must have same layer. |
Fields
AllowPeerAddressChange
Allows peer change it's ip (lte to wifi, wifi to lte, etc). Use only on server
Declaration
public bool AllowPeerAddressChange
Field Value
| Type | Description |
|---|---|
| bool |
AutoRecycle
Automatically recycle NetPacketReader after OnReceive event
Declaration
public bool AutoRecycle
Field Value
| Type | Description |
|---|---|
| bool |
BroadcastReceiveEnabled
Allows receive broadcast packets
Declaration
public bool BroadcastReceiveEnabled
Field Value
| Type | Description |
|---|---|
| bool |
DisconnectOnUnreachable
Disconnect peers if HostUnreachable or NetworkUnreachable spawned (old behaviour 0.9.x was true)
Declaration
public bool DisconnectOnUnreachable
Field Value
| Type | Description |
|---|---|
| bool |
DisconnectTimeout
If NetManager doesn't receive any packet from remote peer during this time (in milliseconds) then connection will be closed (including library internal keepalive packets)
Declaration
public int DisconnectTimeout
Field Value
| Type | Description |
|---|---|
| int |
EnableStatistics
Toggles the collection of network statistics for the instance and all known peers
Declaration
public bool EnableStatistics
Field Value
| Type | Description |
|---|---|
| bool |
IPv6Enabled
IPv6 support
Declaration
public bool IPv6Enabled
Field Value
| Type | Description |
|---|---|
| bool |
IPv6Support
Declaration
public static readonly bool IPv6Support
Field Value
| Type | Description |
|---|---|
| bool |
MaxConnectAttempts
Maximum connection attempts before client stops and call disconnect event.
Declaration
public int MaxConnectAttempts
Field Value
| Type | Description |
|---|---|
| int |
MaxPacketsReceivePerUpdate
Maximum packets count that will be processed in Manual PollEvents
Declaration
public int MaxPacketsReceivePerUpdate
Field Value
| Type | Description |
|---|---|
| int |
MtuOverride
Override MTU for all new peers registered in this NetManager, will ignores MTU Discovery!
Declaration
public int MtuOverride
Field Value
| Type | Description |
|---|---|
| int |
NatPunchEnabled
Enable nat punch messages
Declaration
public bool NatPunchEnabled
Field Value
| Type | Description |
|---|---|
| bool |
NatPunchModule
NatPunchModule for NAT hole punching operations
Declaration
public readonly NatPunchModule NatPunchModule
Field Value
| Type | Description |
|---|---|
| NatPunchModule |
PacketPoolSize
Maximum packet pool size (increase if you have tons of packets sending)
Declaration
public int PacketPoolSize
Field Value
| Type | Description |
|---|---|
| int |
PingInterval
Interval for latency detection and checking connection (in milliseconds)
Declaration
public int PingInterval
Field Value
| Type | Description |
|---|---|
| int |
ReconnectDelay
Delay between initial connection attempts (in milliseconds)
Declaration
public int ReconnectDelay
Field Value
| Type | Description |
|---|---|
| int |
ReuseAddress
Enables socket option "ReuseAddress" for specific purposes
Declaration
public bool ReuseAddress
Field Value
| Type | Description |
|---|---|
| bool |
SimulateLatency
Simulate latency by holding packets for random time. (Works only in DEBUG mode)
Declaration
public bool SimulateLatency
Field Value
| Type | Description |
|---|---|
| bool |
SimulatePacketLoss
Simulate packet loss by dropping random amount of packets. (Works only in DEBUG mode)
Declaration
public bool SimulatePacketLoss
Field Value
| Type | Description |
|---|---|
| bool |
SimulationMaxLatency
Maximum simulated latency (in milliseconds)
Declaration
public int SimulationMaxLatency
Field Value
| Type | Description |
|---|---|
| int |
SimulationMinLatency
Minimum simulated latency (in milliseconds)
Declaration
public int SimulationMinLatency
Field Value
| Type | Description |
|---|---|
| int |
SimulationPacketLossChance
Chance of packet loss when simulation enabled. value in percents (1 - 100).
Declaration
public int SimulationPacketLossChance
Field Value
| Type | Description |
|---|---|
| int |
Statistics
Statistics of all connections
Declaration
public readonly NetStatistics Statistics
Field Value
| Type | Description |
|---|---|
| NetStatistics |
UnconnectedMessagesEnabled
Enable messages receiving without connection. (with SendUnconnectedMessage method)
Declaration
public bool UnconnectedMessagesEnabled
Field Value
| Type | Description |
|---|---|
| bool |
UnsyncedDeliveryEvent
If true - delivery event will be called from "receive" thread immediately otherwise on PollEvents call
Declaration
public bool UnsyncedDeliveryEvent
Field Value
| Type | Description |
|---|---|
| bool |
UnsyncedEvents
Events automatically will be called without PollEvents method from another thread
Declaration
public bool UnsyncedEvents
Field Value
| Type | Description |
|---|---|
| bool |
UnsyncedReceiveEvent
If true - receive event will be called from "receive" thread immediately otherwise on PollEvents call
Declaration
public bool UnsyncedReceiveEvent
Field Value
| Type | Description |
|---|---|
| bool |
UpdateTime
Library logic update and send period in milliseconds Lowest values in Windows doesn't change much because of Thread.Sleep precision To more frequent sends (or sends tied to your game logic) use TriggerUpdate()
Declaration
public int UpdateTime
Field Value
| Type | Description |
|---|---|
| int |
UseNativeSockets
Experimental feature mostly for servers. Only for Windows/Linux use direct socket calls for send/receive to drastically increase speed and reduce GC pressure
Declaration
public bool UseNativeSockets
Field Value
| Type | Description |
|---|---|
| bool |
UseSafeMtu
Sets initial MTU to lowest possible value according to RFC1191 (576 bytes)
Declaration
public bool UseSafeMtu
Field Value
| Type | Description |
|---|---|
| bool |
Properties
ChannelsCount
QoS channel count per message type (value must be between 1 and 64 channels)
Declaration
public byte ChannelsCount { get; set; }
Property Value
| Type | Description |
|---|---|
| byte |
ConnectedPeerList
Returns connected peers list (with internal cached list)
Declaration
public List<NetPeer> ConnectedPeerList { get; }
Property Value
| Type | Description |
|---|---|
| List<NetPeer> |
ConnectedPeersCount
Returns connected peers count
Declaration
public int ConnectedPeersCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
ExtraPacketSizeForLayer
Declaration
public int ExtraPacketSizeForLayer { get; }
Property Value
| Type | Description |
|---|---|
| int |
FirstPeer
First peer. Useful for Client mode
Declaration
public NetPeer FirstPeer { get; }
Property Value
| Type | Description |
|---|---|
| NetPeer |
IsRunning
Returns true if socket listening and update thread is running
Declaration
public bool IsRunning { get; }
Property Value
| Type | Description |
|---|---|
| bool |
LocalPort
Local EndPoint (host and port)
Declaration
public int LocalPort { get; }
Property Value
| Type | Description |
|---|---|
| int |
PoolCount
Declaration
public int PoolCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Ttl
Declaration
public short Ttl { get; }
Property Value
| Type | Description |
|---|---|
| short |
Methods
Connect(IPEndPoint, NetDataWriter)
Connect to remote host
Declaration
public NetPeer Connect(IPEndPoint target, NetDataWriter connectionData)
Parameters
| Type | Name | Description |
|---|---|---|
| IPEndPoint | target | Server end point (ip and port) |
| NetDataWriter | connectionData | Additional data for remote peer |
Returns
| Type | Description |
|---|---|
| NetPeer | New NetPeer if new connection, Old NetPeer if already connected, null peer if there is ConnectionRequest awaiting |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Manager is not running. Call Start() |
Connect(IPEndPoint, string)
Connect to remote host
Declaration
public NetPeer Connect(IPEndPoint target, string key)
Parameters
| Type | Name | Description |
|---|---|---|
| IPEndPoint | target | Server end point (ip and port) |
| string | key | Connection key |
Returns
| Type | Description |
|---|---|
| NetPeer | New NetPeer if new connection, Old NetPeer if already connected, null peer if there is ConnectionRequest awaiting |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Manager is not running. Call Start() |
Connect(string, int, NetDataWriter)
Connect to remote host
Declaration
public NetPeer Connect(string address, int port, NetDataWriter connectionData)
Parameters
| Type | Name | Description |
|---|---|---|
| string | address | Server IP or hostname |
| int | port | Server Port |
| NetDataWriter | connectionData | Additional data for remote peer |
Returns
| Type | Description |
|---|---|
| NetPeer | New NetPeer if new connection, Old NetPeer if already connected, null peer if there is ConnectionRequest awaiting |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Manager is not running. Call Start() |
Connect(string, int, string)
Connect to remote host
Declaration
public NetPeer Connect(string address, int port, string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | address | Server IP or hostname |
| int | port | Server Port |
| string | key | Connection key |
Returns
| Type | Description |
|---|---|
| NetPeer | New NetPeer if new connection, Old NetPeer if already connected, null peer if there is ConnectionRequest awaiting |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Manager is not running. Call Start() |
CreateNtpRequest(IPEndPoint)
Create the requests for NTP server
Declaration
public void CreateNtpRequest(IPEndPoint endPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| IPEndPoint | endPoint | NTP Server address. |
CreateNtpRequest(string, int)
Create the requests for NTP server
Declaration
public void CreateNtpRequest(string ntpServerAddress, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ntpServerAddress | NTP Server address. |
| int | port | port |
CreateNtpRequest(string)
Create the requests for NTP server (default port)
Declaration
public void CreateNtpRequest(string ntpServerAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ntpServerAddress | NTP Server address. |
DisconnectAll()
Disconnect all peers without any additional data
Declaration
public void DisconnectAll()
DisconnectAll(byte[], int, int)
Disconnect all peers with shutdown message
Declaration
public void DisconnectAll(byte[] data, int start, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data to send (must be less or equal MTU) |
| int | start | Data start |
| int | count | Data count |
DisconnectPeer(NetPeer, NetDataWriter)
Disconnect peer from server and send additional data (Size must be less or equal MTU - 8)
Declaration
public void DisconnectPeer(NetPeer peer, NetDataWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| NetPeer | peer | peer to disconnect |
| NetDataWriter | writer | additional data |
DisconnectPeer(NetPeer, byte[], int, int)
Disconnect peer from server and send additional data (Size must be less or equal MTU - 8)
Declaration
public void DisconnectPeer(NetPeer peer, byte[] data, int start, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| NetPeer | peer | peer to disconnect |
| byte[] | data | additional data |
| int | start | data start |
| int | count | data length |
DisconnectPeer(NetPeer, byte[])
Disconnect peer from server and send additional data (Size must be less or equal MTU - 8)
Declaration
public void DisconnectPeer(NetPeer peer, byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| NetPeer | peer | peer to disconnect |
| byte[] | data | additional data |
DisconnectPeer(NetPeer)
Disconnect peer from server
Declaration
public void DisconnectPeer(NetPeer peer)
Parameters
| Type | Name | Description |
|---|---|---|
| NetPeer | peer | peer to disconnect |
DisconnectPeerForce(NetPeer)
Immediately disconnect peer from server without additional data
Declaration
public void DisconnectPeerForce(NetPeer peer)
Parameters
| Type | Name | Description |
|---|---|---|
| NetPeer | peer | peer to disconnect |
GetEnumerator()
Declaration
public NetManager.NetPeerEnumerator GetEnumerator()
Returns
| Type | Description |
|---|---|
| NetManager.NetPeerEnumerator |
GetPeerById(int)
Gets peer by peer id
Declaration
public NetPeer GetPeerById(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | id of peer |
Returns
| Type | Description |
|---|---|
| NetPeer | Peer if peer with id exist, otherwise null |
GetPeersCount(ConnectionState)
Return peers count with connection state
Declaration
public int GetPeersCount(ConnectionState peerState)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectionState | peerState | peer connection state (you can use as bit flags) |
Returns
| Type | Description |
|---|---|
| int | peers count |
GetPeersNonAlloc(List<NetPeer>, ConnectionState)
Get copy of peers (without allocations)
Declaration
public void GetPeersNonAlloc(List<NetPeer> peers, ConnectionState peerState)
Parameters
| Type | Name | Description |
|---|---|---|
| List<NetPeer> | peers | List that will contain result |
| ConnectionState | peerState | State of peers |
ManualUpdate(int)
Update and send logic. Use this only when NetManager started in manual mode
Declaration
public void ManualUpdate(int elapsedMilliseconds)
Parameters
| Type | Name | Description |
|---|---|---|
| int | elapsedMilliseconds | elapsed milliseconds since last update call |
PollEvents()
Receive all pending events. Call this in game update code In Manual mode it will call also socket Receive (which can be slow)
Declaration
public void PollEvents()
SendBroadcast(NetDataWriter, int)
Declaration
public bool SendBroadcast(NetDataWriter writer, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | |
| int | port |
Returns
| Type | Description |
|---|---|
| bool |
SendBroadcast(byte[], int, int, int)
Declaration
public bool SendBroadcast(byte[] data, int start, int length, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | |
| int | start | |
| int | length | |
| int | port |
Returns
| Type | Description |
|---|---|
| bool |
SendBroadcast(byte[], int)
Declaration
public bool SendBroadcast(byte[] data, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | |
| int | port |
Returns
| Type | Description |
|---|---|
| bool |
SendToAll(NetDataWriter, DeliveryMethod, NetPeer)
Send data to all connected peers (channel - 0)
Declaration
public void SendToAll(NetDataWriter writer, DeliveryMethod options, NetPeer excludePeer)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | DataWriter with data |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
| NetPeer | excludePeer | Excluded peer |
SendToAll(NetDataWriter, DeliveryMethod)
Send data to all connected peers (channel - 0)
Declaration
public void SendToAll(NetDataWriter writer, DeliveryMethod options)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | DataWriter with data |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
SendToAll(NetDataWriter, byte, DeliveryMethod, NetPeer)
Send data to all connected peers
Declaration
public void SendToAll(NetDataWriter writer, byte channelNumber, DeliveryMethod options, NetPeer excludePeer)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | DataWriter with data |
| byte | channelNumber | Number of channel (from 0 to channelsCount - 1) |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
| NetPeer | excludePeer | Excluded peer |
SendToAll(NetDataWriter, byte, DeliveryMethod)
Send data to all connected peers
Declaration
public void SendToAll(NetDataWriter writer, byte channelNumber, DeliveryMethod options)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | DataWriter with data |
| byte | channelNumber | Number of channel (from 0 to channelsCount - 1) |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
SendToAll(byte[], DeliveryMethod, NetPeer)
Send data to all connected peers (channel - 0)
Declaration
public void SendToAll(byte[] data, DeliveryMethod options, NetPeer excludePeer)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
| NetPeer | excludePeer | Excluded peer |
SendToAll(byte[], DeliveryMethod)
Send data to all connected peers (channel - 0)
Declaration
public void SendToAll(byte[] data, DeliveryMethod options)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
SendToAll(byte[], byte, DeliveryMethod, NetPeer)
Send data to all connected peers
Declaration
public void SendToAll(byte[] data, byte channelNumber, DeliveryMethod options, NetPeer excludePeer)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| byte | channelNumber | Number of channel (from 0 to channelsCount - 1) |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
| NetPeer | excludePeer | Excluded peer |
SendToAll(byte[], byte, DeliveryMethod)
Send data to all connected peers
Declaration
public void SendToAll(byte[] data, byte channelNumber, DeliveryMethod options)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| byte | channelNumber | Number of channel (from 0 to channelsCount - 1) |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
SendToAll(byte[], int, int, DeliveryMethod, NetPeer)
Send data to all connected peers (channel - 0)
Declaration
public void SendToAll(byte[] data, int start, int length, DeliveryMethod options, NetPeer excludePeer)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| int | start | Start of data |
| int | length | Length of data |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
| NetPeer | excludePeer | Excluded peer |
SendToAll(byte[], int, int, DeliveryMethod)
Send data to all connected peers (channel - 0)
Declaration
public void SendToAll(byte[] data, int start, int length, DeliveryMethod options)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| int | start | Start of data |
| int | length | Length of data |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
SendToAll(byte[], int, int, byte, DeliveryMethod, NetPeer)
Send data to all connected peers
Declaration
public void SendToAll(byte[] data, int start, int length, byte channelNumber, DeliveryMethod options, NetPeer excludePeer)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| int | start | Start of data |
| int | length | Length of data |
| byte | channelNumber | Number of channel (from 0 to channelsCount - 1) |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
| NetPeer | excludePeer | Excluded peer |
SendToAll(byte[], int, int, byte, DeliveryMethod)
Send data to all connected peers
Declaration
public void SendToAll(byte[] data, int start, int length, byte channelNumber, DeliveryMethod options)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Data |
| int | start | Start of data |
| int | length | Length of data |
| byte | channelNumber | Number of channel (from 0 to channelsCount - 1) |
| DeliveryMethod | options | Send options (reliable, unreliable, etc.) |
SendUnconnectedMessage(NetDataWriter, IPEndPoint)
Send message without connection
Declaration
public bool SendUnconnectedMessage(NetDataWriter writer, IPEndPoint remoteEndPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | Data serializer |
| IPEndPoint | remoteEndPoint | Packet destination |
Returns
| Type | Description |
|---|---|
| bool | Operation result |
SendUnconnectedMessage(NetDataWriter, string, int)
Send message without connection. WARNING This method allocates a new IPEndPoint object and synchronously makes a DNS request. If you're calling this method every frame it will be much faster to just cache the IPEndPoint.
Declaration
public bool SendUnconnectedMessage(NetDataWriter writer, string address, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| NetDataWriter | writer | Data serializer |
| string | address | Packet destination IP or hostname |
| int | port | Packet destination port |
Returns
| Type | Description |
|---|---|
| bool | Operation result |
SendUnconnectedMessage(byte[], int, int, IPEndPoint)
Send message without connection
Declaration
public bool SendUnconnectedMessage(byte[] message, int start, int length, IPEndPoint remoteEndPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | message | Raw data |
| int | start | data start |
| int | length | data length |
| IPEndPoint | remoteEndPoint | Packet destination |
Returns
| Type | Description |
|---|---|
| bool | Operation result |
SendUnconnectedMessage(byte[], IPEndPoint)
Send message without connection
Declaration
public bool SendUnconnectedMessage(byte[] message, IPEndPoint remoteEndPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | message | Raw data |
| IPEndPoint | remoteEndPoint | Packet destination |
Returns
| Type | Description |
|---|---|
| bool | Operation result |
SocketActive(bool)
Declaration
public bool SocketActive(bool ipv4)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | ipv4 |
Returns
| Type | Description |
|---|---|
| bool |
Start()
Start logic thread and listening on available port
Declaration
public bool Start()
Returns
| Type | Description |
|---|---|
| bool |
Start(int)
Start logic thread and listening on selected port
Declaration
public bool Start(int port)
Parameters
| Type | Name | Description |
|---|---|---|
| int | port | port to listen |
Returns
| Type | Description |
|---|---|
| bool |
Start(IPAddress, IPAddress, int, bool)
Start logic thread and listening on selected port
Declaration
public bool Start(IPAddress addressIPv4, IPAddress addressIPv6, int port, bool manualMode)
Parameters
| Type | Name | Description |
|---|---|---|
| IPAddress | addressIPv4 | bind to specific ipv4 address |
| IPAddress | addressIPv6 | bind to specific ipv6 address |
| int | port | port to listen |
| bool | manualMode | mode of library |
Returns
| Type | Description |
|---|---|
| bool |
Start(IPAddress, IPAddress, int)
Start logic thread and listening on selected port
Declaration
public bool Start(IPAddress addressIPv4, IPAddress addressIPv6, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| IPAddress | addressIPv4 | bind to specific ipv4 address |
| IPAddress | addressIPv6 | bind to specific ipv6 address |
| int | port | port to listen |
Returns
| Type | Description |
|---|---|
| bool |
Start(string, string, int)
Start logic thread and listening on selected port
Declaration
public bool Start(string addressIPv4, string addressIPv6, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| string | addressIPv4 | bind to specific ipv4 address |
| string | addressIPv6 | bind to specific ipv6 address |
| int | port | port to listen |
Returns
| Type | Description |
|---|---|
| bool |
StartInManualMode(int)
Start in manual mode and listening on selected port In this mode you should use ManualReceive (without PollEvents) for receive packets and ManualUpdate(...) for update and send packets This mode useful mostly for single-threaded servers
Declaration
public bool StartInManualMode(int port)
Parameters
| Type | Name | Description |
|---|---|---|
| int | port | port to listen |
Returns
| Type | Description |
|---|---|
| bool |
StartInManualMode(IPAddress, IPAddress, int)
Start in manual mode and listening on selected port In this mode you should use ManualReceive (without PollEvents) for receive packets and ManualUpdate(...) for update and send packets This mode useful mostly for single-threaded servers
Declaration
public bool StartInManualMode(IPAddress addressIPv4, IPAddress addressIPv6, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| IPAddress | addressIPv4 | bind to specific ipv4 address |
| IPAddress | addressIPv6 | bind to specific ipv6 address |
| int | port | port to listen |
Returns
| Type | Description |
|---|---|
| bool |
StartInManualMode(string, string, int)
Start in manual mode and listening on selected port In this mode you should use ManualReceive (without PollEvents) for receive packets and ManualUpdate(...) for update and send packets This mode useful mostly for single-threaded servers
Declaration
public bool StartInManualMode(string addressIPv4, string addressIPv6, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| string | addressIPv4 | bind to specific ipv4 address |
| string | addressIPv6 | bind to specific ipv6 address |
| int | port | port to listen |
Returns
| Type | Description |
|---|---|
| bool |
Stop()
Force closes connection and stop all threads.
Declaration
public void Stop()
Stop(bool)
Force closes connection and stop all threads.
Declaration
public void Stop(bool sendDisconnectMessages)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | sendDisconnectMessages | Send disconnect messages |
TriggerUpdate()
Triggers update and send logic immediately (works asynchronously)
Declaration
public void TriggerUpdate()
TryGetPeerById(int, out NetPeer)
Gets peer by peer id
Declaration
public bool TryGetPeerById(int id, out NetPeer peer)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | id of peer |
| NetPeer | peer | resulting peer |
Returns
| Type | Description |
|---|---|
| bool | True if peer with id exist, otherwise false |


--- subject: Addigy Release Announcement --- {{> releasenotes-header}} New Addigy Update \{{ now | date: "%B %-d, %Y" }} \{{ email.html }} --Keep I.T. Real, The Addigy Team
\{{ now | date: "%B %-d, %Y" }}
--Keep I.T. Real, The Addigy Team


The JassNewGen pack 1.5c
This distribution includes grimoire (1.5), the jasshelper compiler (0.9.I.2), PJass (1.0k) and PitzerMike's Grim Extension pack 1.0b, TESH <IP_ADDRESS> (Unofficial update by Van Damm and Zoxc), Risc's Colorizer FINAL and Reinventing the Craft (0.20) all ready to run.
The final result is a world editor that compiles vJass code, uses PJass to check for errors, highlights jass code, has a proper testing environment, supports visual preview of colored tooltips and can use grim extension pack as well. Not to mention that jasshelper also saves backups of whatever you save so it is also safer.
Usage
Make sure you computer has access to your war3 CD and that you are using the latest patch and that your worldedit.exe is not a cracked version.
After extracting the zip to some folder, execute 'NewGen WE.exe' or 'we.bat'
The first time you run, Grimoire might ask you for the location of Warcraft III.
Once world editor enters there should be three new menus in the main world editor window: Extensions, Grimoire and Compiler.
You can configure various hacks for the WE at the Grimoire menu.
Grimoire menu commands
- Start war3 with: These are options for testmap, you may disable grimoire for war3 so it stops loading war3err during test map, war3err is good for finding your errors but it may be an obstacle when testing performance. If you're using Warcraft versions above 1.21b Grimoire, war3err and japi options won't be available any more in this menu.
- Enable object editor hack: This allows you to enter custom rawcodes for objects created in the object editor.
- Enable no limits: If checked removes World Editor limits (doodad/neutral building/etc)
- Syntax checker options: It is better to keep these options checked for optimal jasshelper compatibility, else world editor's syntax may cause you issues or even crashes when enabled.
- Mute editor sounds: Turns off the startup sound, the undo/redo sound, and the sound that it makes when placing/deleting.
- Enable war3err: You may eventually want to enable grimoire for test map but not war3err, this is the option for you to disable.
- Enable warmachine: If you wanna use Grimoire's faster Jass VM, this is the option to enable it. When enabled this will disable war3err and vice versa because they do not work together.
- Disable first save warning: When a map is saved for the first time or a Grimex tool is used on unsaved maps, a popup will tell you to save your map again. This popup will be disabled with this option.
- Attach debugger: This option is only available when the optional w3jdebug component has been downloaded and extracted into the JassNewGen directory. It will start the debugger and try to attach it to the game, which will only work if the game has reached a breakpoint.
A more detailed description can be found in the Grimoire documentation.
JassHelper menu commands
- Enable JassHelper: If checked jasshelper should be called when you save the map/click testmap
- Debug Mode: Sets debug mode, check jasshelper's readme for more information.
- Disable vJass syntax: You may find that the vJass syntax compiling might take some time from you when editing maps that do not use it, you can disable it so jasshelper just calls Pjass to compile the map.
- Disable script optimization: Disables jasshelper's script optimization if checked.
- Show previous errors: It could happen that you got syntax errors and you closed the error window, if you want to check them back without compiling the map again, use this option.
More details on the vJASS standard can be found in the JassHelper manual.
Extensions menu commands
Now it is possible to use some of PitzerMike's extensions from this menu interface instead of from the map script.
One pretty useful thing here are the shell extensions which make it so a double click on a map opens it in the NewGen editor and not the normal editor, and adds context menu items to run them in Warcraft.
A detailed explanation can be found in the separate Grimex documentation
TESH integration
In this version SFilip's Trigger Editor syntax highlighting plugin is already included.
This will highlight your JASS-code in the trigger editor and assist you while typing your code.
UMSWE 5 integration
UMSWE 5 combines the best of UMSWE 4, WE Unlimited and some smaller spin-off projects.
In the UMSWE menu you'll find several menu items that can be used to configure UMSWE.
More details on how to use UMSWE and its features can be found in the UMSWE manual.
WE Unlimited support
If it finds WEU installed on your computer, Grimoire will add a menu item to the Grimoire menu. If for some reason you need to use WE Unlimited but still want the extensions this pack offers, simply enable that option in the menu and restart the editor.
Never enable UMSWE 5 and WE Unlimited at the same time. I strongly encourage you to use the recently added UMSWE 5 instead of WEU, because WEU has long been discontinued.
Documentation files
Grimex Manual: grimext\grimexmanual.html
UMSWE Manual: umswe\umswemanual.html
JassHelper Manual: jasshelper\jasshelpermanual.html
JassHelper Demos: jasshelper\demos\
Grimoire Manual: grimoiremanual.pdf
Interactive Debugger
To use Grimoire's interactive debugger you need to download the optional component w3jdebug and extract it into the JassNewGen directory. A menu command will then show up in the Grimoire menu which will allow you to start the debugger. This can only work when the following coniditons are met:
- you have put a breakpoint into your code (call Cheat("war3err_Break"))
- you have started the game with war3err enabled and in windowed mode (to be able to tab out when the game freezes)
- the game has reached your breakpoint and is now frozen
Then you can attach the debugger and look at variables, single step through the operations etc. Press the Resume button to detatch the debugger and have the game resume.
Notes
- This is an unzip and run pack for those who don't want to mess with single file preparation and stuff.
- To update and use Grimoire it would be better to just keep using its distributions and just add the single mapcompiler.exe and pjass.exe to it
- Grimoire's readme and all the tools are available
- To update PJass simply replace the jasshelper\pjass.exe
- To update JassHelper simply replace the jasshelper\jasshelper.exe with a newer version
- To update Grim Extension pack simply replace the contents of the grimext folder
- The plan is to update this package whenever one of its parts is updated.
- To uninstall just remove the files.
- NewGen WE.exe and NewGen Warcraft.exe can be given usual worldedit.exe/war3.exe arguments and and pass them (you can make a file associations for w3x/w3m etc use this custom editor)
- By default, WE will use Grimoire with war3err for testmap, it is really useful to find mistakes that would otherwise cause silent bugs or crashes, and to monitor memory leaks.
- In this release, Grimoire's war3err has bytecode trace turned off and nopause turned on, you have to edit war3err.conf to enable/disable them along with other options.
- In case something goes wrong, jasshelper automatically saves last 26 input maps in the backups folder. So you can restore a backup (it should be useful to sort the contents by date)
- In the pyw3jdebug subfolder there's a debugger written in python that can be used in conjunction with war3err to debug jass code. This requires Python 2.5, PythonCard 0.8.2, and wxPython 2.8 installed on your system. A standalone version that doesn't require python installed is available on demand though.
Troubleshooting
My antivirus software reports viruses, is this package infected?
No, some antivirus tools just think it is due to the nature of this tool, that works by injecting its own code into the process of the WE. Most tools allow to setup an exception for such cases, some have to be turned off though (like Kaspersky, see below).
Here's a list of tools that have been reported to cause trouble with NewGen:
- Avira Antivir detects several of the files as trojans, you can choose ignore for the reports and whitelist those files later to fix the problem.
- Kaspersky Antivirus also gives false alarm and it's not possible to effectively whitelist NewGen. You need to turn Kaspersky off to use NewGen (see several questions below).
- EZ Antivirus silently quarantines some files breaking the editor completely. You need to turn it off before even downloading the pack, but then you should be able to whitelist NewGen, once it's installed.
- Avast Antivirus reports false viruses. It is possible to whitelist NewGen in its configuration though.
- AVG reports false viruses and may silently delete required files. I don't know if you can set an exception in AVG.
- F-secure reports several false viruses but you can make it ignore the NewGen files.
Check the forums if you have trouble with your antivirus software and NewGen.
Can I use war3err and japi with the latest Warcraft III version?
No, the last version that Grimoire supports is 1.21b. All editor features will still work with later versions, but the ingame features like war3err, japi and the debugger wont.
A dual installation of Warcraft III is suggested to be able to the powerful features of Grimoire still. For a dual installtion you need to follow these steps:
- Uninstall previous Warcraft III installations from your computer.
- Make a fresh installation of Warcraft III.
- Patch the new installation to 1.21b with the standalone patch that can be obtained from the Blizzard site
- Copy the complete Warcraft III folder to a different directory, so you have a second installation.
- Patch the first installation to the latest version through battle.net or the standalone patch.
- Fire up regedit and change the values of "HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\InstallPath", "HKEY_CURRENT_USER\\Software\Blizzard Entertainment\Warcraft III\InstallPathX" and "Software\Grimoire\War3InstallPath" to the directory of the copy you made in step 4.
- Now you're set up to use the first installation for regular battle.net play and the second installation for mapmaking.
I don't know how and where this must be installed and how to run it?
Just extract all files from the downloaded archive to a directory of your choice. Preferably don't install it directly into the Warcraft III directory.
To use it, simply start NewGen WE.exe and NewGen Warcraft.exe.
Which operating systems are supported?
This pack works on Windows 2000 and XP testedly, Windows Vista also seems to work according to user reports. Older versions and Unix systems or Macintosh are not supported, however parts of this pack can work on other systems if used from the command line.
When I use the test map button, Warcraft III will start but return to the main menu instead of loading a map?
This can happen when your map uses vJASS code and you hit the test map button when the map is unsaved (*-symbol is shown in the title bar) or the map has been saved-as directly before testing the map.
Simply save your map before every test-run, so that it's fully compiled.
Windowed, OpenGL and War3err mode work fine with the test map button, but why is the test ai button not affected?
You can work around it with the menu command Grimoire\Test map configuration. It offers the same settings as the test ai configuration but works with the normal test map button.
A popup keeps telling me that i should save my map again, especially when working in the campaign editor, how to deal with it?
For the first time a map is saved this is normal, because the path of the map isn't known until then.
When you're editing maps from a campaign, however the path cannot be found because those maps are stored inside the campaign.
A workaround is saving a local copy of that map in the maps folder and working with that copy, then when the map is finished re-import it into the campaign.
You can also turn off the popup via the Grimoire\Disable first save warning menu item, in case you want to make basic edits to maps that don't use vJASS features.
Another possible reason are non-standard-ansi characters in the path of your map. On Windows systems of other languages like Russian or Chinese this can be the problem. Copy the map to a directory that contains only standard ansi characters to fix it.
Whenever i start the NewGen WE I'm told that it can't find my Warcraft directory or I need to select it in a browser dialog everytime. What's wrong?
The browse for directory dialog is normal if it's the frist time you are starting the NewGen pack.
If the browser pops up every time, one possible reason could be the lack of admin privileges on the machine.
Another possible reason for this is non-standard-ansi characters in your Warcraft installation path, like already described in the previous paragraph.
If all fails you can hardcode the path into findpath.lua by removing the -- from the line --path = "C:\\Warcraft III" and changing the path there.
Whenever i start the NewGen WE I'm told that an instance is already running, I need to insert the CD or to turn off Kaspersky. What's wrong?
Well, as the message already suggests, an instance of the editor may already be running.
If this is not the case another cause for this popup may be that you're using a patch prior to version 1.21b and do not have the Warcraft CD in your CD drive.
Some antivirus tools like Kaspersky antivirus also cause this popup. You need to disable those tools before running NewGen.
If you have Kaspersky Antivirus installed, follow these steps to get it working:
- Remove your current NewGen installation.
- Redownload the NewGen pack and extract it to a directory of your choice.
- Reboot your computer.
- Turn off Kaspersky (right-click in systemtray -> Exit) before running NewGen.
- Start the NewGen WE.
Make sure you never try to run NewGen when Kaspersky is on, because it will permanently block it until you restart your computer.
When i start the NewGen WE, the Grimoire menus never appear, or only appear the first time that i start NewGen. The WE acts like a completely unmodded, normal WE, what's wrong?
Make sure you have patched your Warcraft installation to version 1.21.
Make sure you're not using a cracked WE. Mount the TFT mini image in daemon tools instead of using a crack if you must. Although some people have successfully used NewGen with a cracked WE it is not recommended.
If you're using Vista, try it under Windows XP, maybe it's a Vista problem.
A virus might be the root of the problem too, make sure your computer is clean.
Finally anti-virus, anti-spyware and firewall software can be causing the problem by blocking the changes that Grimoire makes to the WE. Try disabling such software temporarily.
The trigger editor gets random crashes or I get a message about an invalid pointer or similar in tesh.dll?
The syntax highlighter has problems with Window Blinds and maybe other window mods. Set an exception for the WE in Window Blinds or disable the tool while you're using NewGen.
Whenever I save any map, no matter what code it contains I get an unrecognized pjass error?
This problem isn't solved yet, any clues and hints are welcome and can be posted at www.wc3campaigns.net.
Credits
- Grimoire: Bryan Steinbach aka PipeDream
- JassHelper: Vexorian
- UMSWE: the UMSWE team
- PJASS: Rudi Cilibrasi (first versions) and PitzerMike (updates)
- GrimEx: Pitzermike
- TESH: SFilip
- Colorizer: Risc
- Reinventing the Craft: MindWorX and SFilip
- Icon: Mc!


{% extends "registration/base.html" %} {% block title %}Done{% endblock title %} {% block body %}
We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly.
If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder.


FROM: Miss Sonia Obudu,
Please Reply To This Email<EMAIL_ADDRESS>Dearest One
Good a thing to write you.I have a proposal for you this is however not mandatory nor will i in any manner compel you to honour against your will. I got your name and contact from the internet when i was searching for a reliable and trustworthy person and I prayed over it and selected your name among other names due to its esteeming nature and the recommendations given to me as a reputable and trust worthy person that can help me out of this dificulties and by the recommendation , I must not hesitate to confide in you for this simple and sincere help .
I am Miss Sonia Obudu the only child of late Mr.and Mrs. Johnson Obudu . My father was a very wealthy cocoa merchant in Abidjan , the economic capital of Ivory coast, my father was poisoned to death by his business associates on one of their outings on a business trip .
My mother died when I was a baby and since then my father took me so special. Before the death of my father on 12 febuary 2003 in a private hospital here in Abidjan he secretly called me on his bed side and told me that he has the sum of seventeen million ,seven hundred thousand United State Dollars.USD($17.700,000) left in a suspense account in one of the prime bank here in Abidjan ,that he used my name as his only child for the next of Kin in depositing of the fund. He also explained to me that it was because of this wealth that he was poisoned by his business associates. That I should seek for a foreign partner in a country of my choice where i will transfer this money and use it for investment purpose such as Real Estate managment.
I am just 22years old and a university undergraduate.I have suffered a lot of set backs as a result of members of my late father's family who has not stop disturbing me about the where about of this fund after they have succeded in claiming almost all the valuable properties that he left behind for me, coupled with incessant political crisis here in Ivory coast. The death of my father actually brought sorrow to my life.
Please, I am honourably seeking your assistance in thefollowing ways: (1) To provide a bank account into which this money would be transferred to . (2) To serve as a guardian of this fund since I am only 22 years. (3) To make arrangement for me to come over to your country to further my education and to secure a resident permit in your country.
Moreover, I am willing to offer you 10% of the total sum as compensation for your effort/input after the successful transfer of this fund into your nominated account overseas. Anticipating to hear from you soon.
Thanks and God bless.
Best regards,
Miss Sonia Obudu Please Reply To This Email sonia_2006_obudu@yahoo.ca


Account Info
Please enter a valid email address
Name
Company
Email
Project Info
Budget
Select Budget
< $5000
$5000 - $10000
> $10000
Project type
Choice 1
Choice 2
Choice 3
Features
Option 1
Option 2
Option 3
Project description


module documentation
Django settings for wolf_lease project.
Generated by 'django-admin startproject' using Django 4.1.1.
For more information on this file, see https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see https://docs.djangoproject.com/en/4.1/ref/settings/
| Constant | ALLOWED |
Undocumented |
| Constant | AUTH |
Undocumented |
| Constant | BASE |
Undocumented |
| Constant | CORS |
Undocumented |
| Constant | DATABASES |
Undocumented |
| Constant | DEBUG |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | INSTALLED |
Undocumented |
| Constant | LANGUAGE |
Undocumented |
| Constant | MIDDLEWARE |
Undocumented |
| Constant | REST |
Undocumented |
| Constant | ROOT |
Undocumented |
| Constant | SECRET |
Undocumented |
| Constant | STATIC |
Undocumented |
| Constant | TEMPLATES |
Undocumented |
| Constant | TIME |
Undocumented |
| Constant | USE |
Undocumented |
| Constant | USE |
Undocumented |
| Constant | WSGI |
Undocumented |
Undocumented
| Value |
|
DATABASES =
¶
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|


--- date: 2010-02-13T00:00:00Z published: true title: why I like webfinger, and one thing I don't like url: /2010/02/13/why-i-like-webfinger-and-one-thing-i-don-t-like/ ---
I like webfinger for a couple/few reasons:
1. It reminds me of finger - which was cool. Sort of an old school twitter/blog before the web.
2. It got me using OpenID again, which I've had an account for forever but:
3. It can help to group a person's online identity together - at least the parts that you want to show.
But there's one relatively minor item I don't like:
Aargh - a .dotfile directory just annoys me. Yes I know it's supposed to be virtual. But those kind of directories are easily missed, deleted, etc.
We've often gotten an entire directory of web files from other company and have been missing .htaccess files - having an entire directory that's effectively invisible to many FTP clients (and servers) and needs CMS support will be annoying.
Why not just:
GET /well-known/host-meta
FTP clients/servers won't hate it, it'll be much easier to get CMS systems to work with it and they won't get missed when an entire directory is getting moved/zipped/etc.
Isn't that just simpler?


#looking for candidates#Banglore#needs c++ developer#looking for candidates#Banglore#Banglore#looking for candidates#Banglore#Banglore#needs c++ developer
Recommendations
Hassan Qamar Banglore,IN
Tags:
#Banglore#needs c++ developer#looking for candidates
Hassan Qamar Banglore,IN
Tags:
#btm,banglore#needs flat under 10k#looking for landlord
Hassan Qamar Banglore,IN
Tags:
#btm,banglore#needs flat under 10k#looking for landlord
Hassan Qamar Banglore,IN
Tags:
#btm,banglore#needs flat under 10k#looking for landlord
Hassan Qamar Banglore,IN
Tags:
#Banglore#needs c++ developer#looking for candidates


CrimPapers
Articles published on 24 April 2019
On 24 April 2019, 6 new articles were published in 6 journals.
Tolerance of Triads, Police Legitimacy, and Self-Help Amidst the Umbrella Movement by T Wing Lo, Cora Yt Hui, Gabriel Kw Lee, Sharon Ingrid Kwok
Responding to Victimisation in A Digital Word: A Case Study of Fraud and Computer Misuse Reported in Wales by Sara Giro Correia
Persons With Severe Mental Illnesses and Sex Offenses: Recidivism After Prison Release by Gary S. Cuddeback, Melissa Grady, Amy Blank Wilson, Tonya van Deinse, Joseph P. Morrissey
Discrimination and Intimate Partner Violence Victimization and Perpetration Among A Convenience Sample of Lgbt Individuals in Latin America by Laura E. T. Swan, Richard S. Henry, Erin R. Smith, Adriana Aguayo Arelis, Brenda Viridiana Rabago Barajas, Paul B. Perrin
Examining State of the Judiciary Addresses: A Research Note by Teena Wilhelm, Richard L. Vining, Ethan Boldt, Allison Trochesett
Understanding the Use, and Misuse, of Adverse Childhood Experiences (aces) in Trauma-Informed Policing by Karen Bateson, Michelle McManus, Georgia Johnson


On the left of the table below, prices are pushed from the server to your browser using WebSocket. On the right side of the table, your browser is polling at a rate you specify to get the same exchange rates using a REST endpoint. The REST side will always be slightly behind the WebSocket side. The shorter the polling interval the closer REST will get but at the expense of more requests to the server.
The charts above simulate the server impact of increasing the number of simultaneous users


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel de.iabg.mode.ModeCorrelationTableModel
public class ModeCorrelationTableModel
This implementation of a TableModel
provides a
table representation of a ModeCorrelationMatrix
. This class bridges
the connection between a ModeCorrelationMatrix
and a
ModeCorrelationModel
by simply adding a table representation.
Therefore, some of the methods of this class wrap those in
ModeCorrelationMatrix
, while other methods are wrapped in
ModeCorrelationModel
. Most of the descriptions of the methods in
this class can be found by refering to the API of either of those two
classes. The remaining methods generally implement or override those
specified in TableModel
. Refer to the API or tutorial for using
Table Models
for more details.
This TableModel
provides nine columns to represent a
ModeCorrelationMatrix
:
The first is called Selected
or On
, which selects the
corresponding mode connection. Selecting or deselecting this option can
allow specified mode connections to be output to a file.
The second column is called Mode 1
or First Mode
, which
displays the identifier of the First Mode
.
The third column is called Mode Weighting
or WFM
, which
displays the correlation weighting factor of the corresponding mode
connection. This value can be edited by the user.
The fourth column is called Freq 1
or First Frequency
, which
displays the frequency of the First Mode
.
The fifth column is called Frequency Weighting
or WFF
, which
displays the frequency weighting factor of the corresponding mode connection.
The sixth column is called Mode 2
or Last Mode
, which
displays the identifier of the connected Last Mode
. The default
value for this comes from the preferred connection, however, the user may
change this to any other mode.
The seventh column is called Freq 2
or Last Frequency
, which
displays the frequency of the Last Mode
. This value is automatically
updated when the user changes the Last Mode
.
The eighth column is called Correlation
or simply Value
,
which displays the corresponding correlation value between the selected
First Mode
and Last Mode
. This value is automatically
updated when the user changes the Last Mode
.
The ninth column is called Frequency Difference
or dFreq
,
which displays the frequency difference between the selected
First Mode
and Last Mode
. This value is automatically
updated when the user changes the Last Mode
.
The rows of this table reflect the total number of mode connections that are
currently stored.
| Field Summary | |
|---|---|
protected ModeCorrelationMatrix |
correlation_
The ModeCorrelationMatrix of this TableModel |
protected static int |
CORRELATION_INDEX
The column index of the correlation between the corresponding modes |
protected static int |
FIRST_MODE_FREQUENCY_INDEX
The column index of the First Mode frequency |
protected static int |
FIRST_MODE_NAME_INDEX
The column index of the First Mode name |
protected static int |
FIRST_MODE_SELECTED_INDEX
The column index of the First Mode selection |
protected boolean[] |
firstSelectedModeKeys_
An array of the selected First Mode keys |
protected static int |
FREQUENCY_DIFFERENCE_INDEX
The column index of the frequency between the corresponding modes |
protected static int |
FREQUENCY_WEIGHTING_INDEX
The column index of the frequency weightings |
protected double[] |
frequencyWeightings_
An array of the selected mode frequency weightings |
protected static int |
LAST_MODE_FREQUENCY_INDEX
The column index of the Last Mode frequency |
protected static int |
LAST_MODE_NAME_INDEX
The column index of the Last Mode name |
protected KeyList |
lastModeNames_
A KeyList of all stored Last Mode names |
protected java.lang.String[] |
lastSelectedModeKeys_
An array of the selected Last Mode keys |
protected static int |
MODE_WEIGHTING_INDEX
The column index of the mode correlation weightings |
protected double[] |
modeWeightings_
An array of the selected mode correlation weightings |
protected static int |
N_COLUMNS
The number of table columns |
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
ModeCorrelationTableModel()
Constructs a default ModeCorrelationTableModel with no mode
correlations. |
| Method Summary | |
|---|---|
void |
deselectAllFirstModeKeys()
Deselects all currently stored First Modes . |
double |
getBoundingRadius2D()
A convenience method which wraps ModeCorrelationMatrix.getBoundingRadius2D() . |
double |
getBoundingRadius3D()
A convenience method which wraps ModeCorrelationMatrix.getBoundingRadius3D() . |
java.lang.Class |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
|
java.lang.String |
getColumnName(int columnIndex)
|
int |
getFirstModeCount()
A convenience method which wraps ModeCorrelationMatrix.getFirstModeCount() . |
KeyList |
getFirstSelectedModeKeys()
Returns the KeyList of the currently selected
First Modes . |
double[] |
getFrequencyWeightings()
Returns an array of the weightings of the frequencies. |
int |
getLastModeCount()
A convenience method which wraps ModeCorrelationMatrix.getLastModeCount() . |
ModeConnectionMatrix |
getModeConnection()
Creates and returns a ModeConnectionMatrix from the currently
selected First Modes andLast Modes in this
TableModel . |
ModeCorrelationMatrix |
getModeCorrelation()
Returns the currently stored ModeCorrelationMatrix . |
double[] |
getModeWeightings()
Returns an array of the weightings of the mode correlations. |
int |
getRowCount()
|
javax.media.j3d.BranchGroup |
getScene2D(double scale,
javax.vecmath.Color3f backgroundColor)
A convenience method which wraps ModeCorrelationMatrix.getScene2D(double, javax.vecmath.Color3f) . |
javax.media.j3d.BranchGroup |
getScene3D(double scale,
javax.vecmath.Color3f backgroundColor)
A convenience method which wraps ModeCorrelationMatrix.getScene3D(double, javax.vecmath.Color3f) . |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
hasFirstModeKeys()
Tests if this ModeTableModel has selected any
First Modes . |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
boolean |
isConnected()
Tests if this ModeCorrelationTableModel is storing any
connections between the First Mode and the Last Mode . |
boolean |
isCorrelated()
Tests if this ModeCorrelationTableModel is storing any
correlations between the First Mode and the Last Mode . |
void |
selectAllFirstModeKeys()
Selects all currently stored First Modes . |
void |
setColumnProperties(javax.swing.JTable correlationTable)
Sets all the column properties for the given JTable . |
void |
setDefaultKeys()
Sets the default mode connection between the FirstMode and
Last Mode by calling
ModeCorrelationMatrix.getPreferredConnection(double) of the
stored ModeCorrelationMatrix . |
void |
setFirstName(java.lang.String firstName)
A convenience method which wraps ModeCorrelationMatrix.setFirstName(java.lang.String) . |
void |
setLastName(java.lang.String lastName)
A convenience method which wraps ModeCorrelationMatrix.setLastName(java.lang.String) . |
void |
setLowerTolerance(double lowerTolerance)
Sets the value of the lower tolerance to the given value. |
void |
setModeCorrelation(ModeCorrelationMatrix correlation)
Replaces the current ModeCorrelationMatrix with the given one. |
void |
setUpperTolerance(double upperTolerance)
Sets the value of the upper tolerance to the given value. |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
|
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, removeTableModelListener |
| Field Detail |
|---|
protected ModeCorrelationMatrix correlation_
ModeCorrelationMatrix
of this TableModel
protected static final int CORRELATION_INDEX
protected static final int FIRST_MODE_FREQUENCY_INDEX
First Mode
frequency
protected static final int FIRST_MODE_NAME_INDEX
First Mode
name
protected static final int FIRST_MODE_SELECTED_INDEX
First Mode
selection
protected boolean[] firstSelectedModeKeys_
First Mode
keys
protected static final int FREQUENCY_DIFFERENCE_INDEX
protected static final int FREQUENCY_WEIGHTING_INDEX
protected double[] frequencyWeightings_
protected static final int LAST_MODE_FREQUENCY_INDEX
Last Mode
frequency
protected static final int LAST_MODE_NAME_INDEX
Last Mode
name
protected KeyList lastModeNames_
KeyList
of all stored Last Mode
names
protected java.lang.String[] lastSelectedModeKeys_
Last Mode
keys
protected static final int MODE_WEIGHTING_INDEX
protected double[] modeWeightings_
protected static final int N_COLUMNS
| Constructor Detail |
|---|
public ModeCorrelationTableModel()
ModeCorrelationTableModel
with no mode
correlations.
| Method Detail |
|---|
public void deselectAllFirstModeKeys()
First Modes
.
public double getBoundingRadius2D()
ModeCorrelationMatrix.getBoundingRadius2D()
.
public double getBoundingRadius3D()
ModeCorrelationMatrix.getBoundingRadius3D()
.
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getFirstModeCount()
ModeCorrelationMatrix.getFirstModeCount()
.
First Modes
public KeyList getFirstSelectedModeKeys()
KeyList
of the currently selected
First Modes
.
KeyList
of the currently selected
First Modes
public double[] getFrequencyWeightings()
public int getLastModeCount()
ModeCorrelationMatrix.getLastModeCount()
.
Last Modes
public ModeConnectionMatrix getModeConnection()
ModeConnectionMatrix
from the currently
selected First Modes
andLast Modes
in this
TableModel
. The corresponding names and frequencies are also set
in the ModeConnectionMatrixs
.
ModeConnectionMatrix
from the currently selected
First Modes
andLast Modes
public ModeCorrelationMatrix getModeCorrelation()
ModeCorrelationMatrix
.
ModeCorrelationMatrix
public double[] getModeWeightings()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public javax.media.j3d.BranchGroup getScene2D(double scale, javax.vecmath.Color3f backgroundColor)
ModeCorrelationMatrix.getScene2D(double, javax.vecmath.Color3f)
.
scale
- the scale of the scenebackgroundColor
- the background color of the scene
public javax.media.j3d.BranchGroup getScene3D(double scale, javax.vecmath.Color3f backgroundColor)
ModeCorrelationMatrix.getScene3D(double, javax.vecmath.Color3f)
.
scale
- the scale of the scenebackgroundColor
- the background color of the scene
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public boolean hasFirstModeKeys()
ModeTableModel
has selected any
First Modes
.
true
if this ModeTableModel
has selected any
First Modes
; false
otherwisepublic boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public boolean isConnected()
ModeCorrelationTableModel
is storing any
connections between the First Mode
and the Last Mode
.
true
if this ModeCorrelationTableModel
stores
any mode connections; false
otherwisepublic boolean isCorrelated()
ModeCorrelationTableModel
is storing any
correlations between the First Mode
and the Last Mode
.
true
if this ModeCorrelationTableModel
stores
any mode correlations; false
otherwisepublic void selectAllFirstModeKeys()
First Modes
.
public void setColumnProperties(javax.swing.JTable correlationTable)
JTable
.
correlationTable
- the JTable
whose columns properties
are setpublic void setDefaultKeys()
FirstMode
and
Last Mode
by calling
ModeCorrelationMatrix.getPreferredConnection(double)
of the
stored ModeCorrelationMatrix
.
public void setFirstName(java.lang.String firstName)
ModeCorrelationMatrix.setFirstName(java.lang.String)
.
firstName
- the new name of the First Mode
public void setLastName(java.lang.String lastName)
ModeCorrelationMatrix.setLastName(java.lang.String)
.
lastName
- the new name of the Last Mode
public void setLowerTolerance(double lowerTolerance)
lowerTolerance
- the new lower tolerancepublic void setModeCorrelation(ModeCorrelationMatrix correlation)
ModeCorrelationMatrix
with the given one.
correlation
- the new ModeCorrelationMatrix
public void setUpperTolerance(double upperTolerance)
upperTolerance
- the new upper tolerancepublic void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Traditionally the problem of initial conditions for inflation has been treated separately from studies of reheating. To allow for a parametric-type reheating, the inflaton must be allowed to interact with (or decay to) other fields, and, these interactions should be present also during inhomogeneous preinflation. Could they prevent cosmic inflation to start in the first place? In a single-author publication Cristian answers this question for Higgs Inflation: once more, inflation always starts and passes the challenge!
The inflationary paradigm postulates an early phase of accelerated expansion of the Universe. Such a period provides an explanation for the observed large-scale homogeneity and flatness in the cosmos. After the end of inflation, the universe would have gone through a phase where the energy of the inflaton is transferred to Standard Model particles, heating up the universe and leading to a bath of ultra-relativistic particles behaving like radiation. This phase is known as reheating.
Traditionally the problem of initial condition for inflation, i.e., knowing if inflation can start from highly inhomogeneous initial conditions, has been treated separately from studies of reheating. However, they are connected. To allow for the so-called parametric-type reheating, through resonances occurring while the system is oscillating at the bottom of the potential, the inflaton must be microscopically coupled to other fields. So, again, one could raise the question: shouldn’t these interactions be present also during inhomogeneous preinflation? Do they prevent cosmic inflation to start?
In a previous paper, see Ref. [1], we have studied the robustness of single-field Higgs Inflation to inhomogeneous initial conditions of all sizes. We have paid attention to include the gravitational dynamics of the system, showing the possible formation of pre-inflationary black holes, as well as the generation of shear/tensor modes in the metric. In short, we have showed that these gravitational dynamics can only delay the beginning of inflation, but never prevent it.
In Ref. [2], Cristian expands the previous settings by adding an extra field into the Higgs Inflation model. This field is coupled such that it allows for a reheating of the Universe. Reheating is actually successful for a range of the field-field interaction strength, which is numerically explored in full General Relativity simulations. Then the same model is confronted to various preinflationary inhomogeneous settings and the full gravitational and scalar-field dynamics are investigated.
The figure below shows the preheating resonances for the auxiliary field (left panel). Structure formation occurs \(2\)-\(3\) e-folds after the end of inflation (right panel).
Looking at the exact same model during the inhomogeneous multi-field preinflationary epochs, we confirm that the Higgs non-minimal coupling to gravity acts as a stabilizer as it washes out the energy contribution of the other minimally coupled matter/scalar-field sectors. In Ref [2], it is shown that this occurs naturally when one canonically normalizes the fields in the Einstein frame. This effect generalizes the dynamics of inhomogeneous extra-matter components, making them sub-dominant in comparison to the inflaton.
The above figure illustrates the gravitational and scalar-field dynamics during pre-inflation. Two simulations are shown, one with super-Hubble initial conditions (left) and another with sub-Hubble size inhomogeneities (right).
All in all, these investigations further confirm the robustness of Higgs Inflation to multi-field inhomogeneous initial conditions, while putting in evidence the formation of complex structures during the reheating. The possible production of compact objects during the reheating, such as primordial black holes, will be investigated in future works.


Research papers should not exceed 12 pages in length (excluding references), system descriptions should not exceed 8 pages (excluding references). Short papers describing preliminary research or positions can also be submitted and should not exceed 4 pages in length. All papers have to be submitted in PDF format; camera-ready versions must be formatted according to the LNCS guidelines.
Submission and reviewing via EasyChair: http://www.easychair.org/conferences/?conf=qald1


- System Info
- Broadband
- LAN
- Firewall
- Logs
- Diagnostics
Emergency Battery Backup
If the AC power fails or the battery has problems the system can alert you by a phone ring and a voice message played over the phone. You can control the time of day the alert is issued or disable it altogether using the controls below:


You have requested to reset your account password.
Copy and Paste the following code in the reset page on your browser:
OR
Click directly on this button


My first Project
Pidoco° Prototype
Exported from Pidoco° Project Creator on Oct 30, 2017 2:50:12 PM.
Personel
View sketched (Arial)
View sketched
View plain
You have Javascript disabled. Please enable Javascript to see the content of this page. Thanks


MIKITO - CONTACT ME
HOME
MY PORTFOLIO
ABOUT ME
LET'S TALK
let's connect | mikito
Name
Email
Message
Submit
thank you | mikito


This has been sitting in my drafts for a few months and now I can’t remember what I wanted to say about it. It’s a sad phenomenon.
Via Daring Fireball


RLMObject
@interface RLMObject : RLMObjectBase <RLMThreadConfined>
RLMObject
is a base class for model objects representing data stored in Realms.
Define your model classes by subclassing RLMObject
and adding properties to be managed.
Then instantiate and use your custom subclasses instead of using the RLMObject
class directly.
// Dog.h
@interface Dog : RLMObject
@property NSString *name;
@property BOOL adopted;
@end
// Dog.m
@implementation Dog
@end //none needed
Supported property types
NSString
NSInteger
,int
,long
,float
, anddouble
BOOL
orbool
NSDate
NSData
NSNumber<X>
, whereX
is one ofRLMInt
,RLMFloat
,RLMDouble
orRLMBool
, for optional number propertiesRLMObject
subclasses, to model many-to-one relationships.RLMArray<X>
, whereX
is anRLMObject
subclass, to model many-to-many relationships.
Querying
You can initiate queries directly via the class methods: allObjects
, objectsWhere:
, and objectsWithPredicate:
.
These methods allow you to easily query a custom subclass for instances of that class in the default Realm.
To search in a Realm other than the default Realm, use the allObjectsInRealm:
, objectsInRealm:where:
,
and objectsInRealm:withPredicate:
class methods.
See
RLMRealm
Relationships
See our Cocoa guide for more details.
Key-Value Observing
All RLMObject
properties (including properties you create in subclasses) are
Key-Value Observing compliant,
except for realm
and objectSchema
.
Keep the following tips in mind when observing Realm objects:
- Unlike
NSMutableArray
properties,RLMArray
properties do not require using the proxy object returned from-mutableArrayValueForKey:
, or defining KVC mutation methods on the containing class. You can simply call methods on theRLMArray
directly; any changes will be automatically observed by the containing object. - Unmanaged
RLMObject
instances cannot be added to a Realm while they have any observed properties. - Modifying managed
RLMObject
s within-observeValueForKeyPath:ofObject:change:context:
is not recommended. Properties may change even when the Realm is not in a write transaction (for example, when-[RLMRealm refresh]
is called after changes are made on a different thread), and notifications sent prior to the change being applied (whenNSKeyValueObservingOptionPrior
is used) may be sent at times when you cannot begin a write transaction.
-
Creates an unmanaged instance of a Realm object.
Call
addObject:
on anRLMRealm
instance to add an unmanaged object into that Realm.See
[RLMRealm addObject:]
Declaration
Objective-C
- (nonnull instancetype)init;
Swift
init()
-
Creates an unmanaged instance of a Realm object.
Pass in an
NSArray
orNSDictionary
instance to set the values of the object’s properties.Call
addObject:
on anRLMRealm
instance to add an unmanaged object into that Realm.See
[RLMRealm addObject:]
Declaration
Objective-C
- (nonnull instancetype)initWithValue:(nonnull id)value;
Swift
init(value: Any)
-
Returns the class name for a Realm object subclass.
Warning
Do not override. Realm relies on this method returning the exact class name.
Declaration
Objective-C
+ (nonnull NSString *)className;
Swift
class func className() -> String
Return Value
The class name for the model class.
-
Creates an instance of a Realm object with a given value, and adds it to the default Realm.
If nested objects are included in the argument,
createInDefaultRealmWithValue:
will be recursively called on them.The
value
argument can be a key-value coding compliant object, an array or dictionary returned from the methods inNSJSONSerialization
, or an array containing one element for each managed property.An exception will be thrown if any required properties are not present and those properties were not defined with default values.
If the
value
argument is an array, all properties must be present, valid and in the same order as the properties defined in the model.See
defaultPropertyValues
Declaration
Objective-C
+ (nonnull instancetype)createInDefaultRealmWithValue:(nonnull id)value;
Swift
class func createInDefaultRealm(withValue value: Any) -> Self
Parameters
value
The value used to populate the object.
-
Creates an instance of a Realm object with a given value, and adds it to the specified Realm.
If nested objects are included in the argument,
createInRealm:withValue:
will be recursively called on them.The
value
argument can be a key-value coding compliant object, an array or dictionary returned from the methods inNSJSONSerialization
, or an array containing one element for each managed property.An exception will be thrown if any required properties are not present and those properties were not defined with default values.
If the
value
argument is an array, all properties must be present, valid and in the same order as the properties defined in the model.See
defaultPropertyValues
Declaration
Objective-C
+ (nonnull instancetype)createInRealm:(nonnull RLMRealm *)realm withValue:(nonnull id)value;
Swift
class func create(in realm: RLMRealm, withValue value: Any) -> Self
Parameters
realm
The Realm which should manage the newly-created object.
value
The value used to populate the object.
-
Creates or updates a Realm object within the default Realm.
This method may only be called on Realm object types with a primary key defined. If there is already an object with the same primary key value in the default Realm, its values are updated and the object is returned. Otherwise, this method creates and populates a new instance of the object in the default Realm.
If nested objects are included in the argument,
createOrUpdateInDefaultRealmWithValue:
will be recursively called on them if they have primary keys,createInDefaultRealmWithValue:
if they do not.The
value
argument is used to populate the object. It can be a Realm object, a key-value coding compliant object, an array or dictionary returned from the methods inNSJSONSerialization
, or an array containing one element for each managed property.If the object is being created, an exception will be thrown if any required properties are not present and those properties were not defined with default values.
If the
value
argument is a Realm object already managed by the default Realm, the argument’s type is the same as the receiver, and the objects have identical values for their managed properties, this method does nothing.If the object is being updated, all properties defined in its schema will be set by copying from
value
using key-value coding. If thevalue
argument does not respond tovalueForKey:
for a given property name (or getter name, if defined), that value will remain untouched. Nullable properties on the object can be set to nil by usingNSNull
as the updated value.If the
value
argument is an array, all properties must be present, valid and in the same order as the properties defined in the model.See
defaultPropertyValues
,primaryKey
Declaration
Objective-C
+ (nonnull instancetype)createOrUpdateInDefaultRealmWithValue:(nonnull id)value;
Swift
class func createOrUpdateInDefaultRealm(withValue value: Any) -> Self
Parameters
value
The value used to populate the object.
-
Creates or updates an Realm object within a specified Realm.
This method may only be called on Realm object types with a primary key defined. If there is already an object with the same primary key value in the given Realm, its values are updated and the object is returned. Otherwise this method creates and populates a new instance of this object in the given Realm.
If nested objects are included in the argument,
createOrUpdateInRealm:withValue:
will be recursively called on them if they have primary keys,createInRealm:withValue:
if they do not.The
value
argument is used to populate the object. It can be a Realm object, a key-value coding compliant object, an array or dictionary returned from the methods inNSJSONSerialization
, or an array containing one element for each managed property.If the object is being created, an exception will be thrown if any required properties are not present and those properties were not defined with default values.
If the
value
argument is a Realm object already managed by the given Realm, the argument’s type is the same as the receiver, and the objects have identical values for their managed properties, this method does nothing.If the object is being updated, all properties defined in its schema will be set by copying from
value
using key-value coding. If thevalue
argument does not respond tovalueForKey:
for a given property name (or getter name, if defined), that value will remain untouched. Nullable properties on the object can be set to nil by usingNSNull
as the updated value.If the
value
argument is an array, all properties must be present, valid and in the same order as the properties defined in the model.See
defaultPropertyValues
,primaryKey
Declaration
Objective-C
+ (nonnull instancetype)createOrUpdateInRealm:(nonnull RLMRealm *)realm withValue:(nonnull id)value;
Swift
class func createOrUpdate(in realm: RLMRealm, withValue value: Any) -> Self
Parameters
realm
The Realm which should own the object.
value
The value used to populate the object.
-
The object schema which lists the managed properties for the object.
Declaration
Objective-C
@property (readonly, nonatomic) RLMObjectSchema *_Nonnull objectSchema;
Swift
var objectSchema: RLMObjectSchema { get }
-
Indicates if the object can no longer be accessed because it is now invalid.
An object can no longer be accessed if the object has been deleted from the Realm that manages it, or if
invalidate
is called on that Realm.Declaration
Objective-C
@property (readonly, getter=isInvalidated, nonatomic) BOOL invalidated;
Swift
var isInvalidated: Bool { get }
-
Returns an array of property names for properties which should be indexed.
Only string, integer, boolean, and
NSDate
properties are supported.Declaration
Objective-C
+ (nonnull NSArray<NSString *> *)indexedProperties;
Swift
class func indexedProperties() -> [String]
Return Value
An array of property names.
-
Override this method to specify the default values to be used for each property.
Declaration
Objective-C
+ (nullable NSDictionary *)defaultPropertyValues;
Swift
class func defaultPropertyValues() -> [AnyHashable : Any]?
Return Value
A dictionary mapping property names to their default values.
-
Override this method to specify the name of a property to be used as the primary key.
Only properties of types
RLMPropertyTypeString
andRLMPropertyTypeInt
can be designated as the primary key. Primary key properties enforce uniqueness for each value whenever the property is set, which incurs minor overhead. Indexes are created automatically for primary key properties.Declaration
Objective-C
+ (nullable NSString *)primaryKey;
Swift
class func primaryKey() -> String?
Return Value
The name of the property designated as the primary key.
-
Override this method to specify the names of properties to ignore. These properties will not be managed by the Realm that manages the object.
Declaration
Objective-C
+ (nullable NSArray<NSString *> *)ignoredProperties;
Swift
class func ignoredProperties() -> [String]?
Return Value
An array of property names to ignore.
-
Override this method to specify the names of properties that are non-optional (i.e. cannot be assigned a
nil
value).By default, all properties of a type whose values can be set to
nil
are considered optional properties. To require that an object in a Realm always store a non-nil
value for a property, add the name of the property to the array returned from this method.Properties of
RLMObject
type cannot be non-optional. Array andNSNumber
properties can be non-optional, but there is no reason to do so: arrays do not support storing nil, and if you want a non-optional number you should instead use the primitive type.Declaration
Objective-C
+ (nonnull NSArray<NSString *> *)requiredProperties;
Swift
class func requiredProperties() -> [String]
Return Value
An array of property names that are required.
-
Override this method to provide information related to properties containing linking objects.
Each property of type
RLMLinkingObjects
must have a key in the dictionary returned by this method consisting of the property name. The corresponding value must be an instance ofRLMPropertyDescriptor
that describes the class and property that the property is linked to.return @{ @"owners": [RLMPropertyDescriptor descriptorWithClass:Owner.class propertyName:@"dogs"] };
Declaration
Objective-C
+ (nonnull NSDictionary<NSString *, RLMPropertyDescriptor *> *) linkingObjectsProperties;
Swift
class func linkingObjectsProperties() -> [String : RLMPropertyDescriptor]
Return Value
A dictionary mapping property names to
RLMPropertyDescriptor
instances.
-
Returns all objects of this object type from the default Realm.
Declaration
Objective-C
+ (nonnull RLMResults *)allObjects;
Swift
class func allObjects() -> RLMResults
Return Value
An
RLMResults
containing all objects of this type in the default Realm. -
Returns all objects of this object type matching the given predicate from the default Realm.
Declaration
Objective-C
+ (nonnull RLMResults *)objectsWhere:(nonnull NSString *)predicateFormat, ...;
Parameters
predicateFormat
A predicate format string, optionally followed by a variable number of arguments.
Return Value
An
RLMResults
containing all objects of this type in the default Realm that match the given predicate. -
Returns all objects of this object type matching the given predicate from the default Realm.
Declaration
Objective-C
+ (nonnull RLMResults *)objectsWithPredicate:(nullable NSPredicate *)predicate;
Swift
class func objects(with predicate: NSPredicate?) -> RLMResults
Parameters
predicate
The predicate with which to filter the objects.
Return Value
An
RLMResults
containing all objects of this type in the default Realm that match the given predicate. -
Retrieves the single instance of this object type with the given primary key from the default Realm.
Returns the object from the default Realm which has the given primary key, or
nil
if the object does not exist. This is slightly faster than the otherwise equivalent[[SubclassName objectsWhere:@"primaryKeyPropertyName = %@", key] firstObject]
.This method requires that
primaryKey
be overridden on the receiving subclass.See
-primaryKey
Declaration
Objective-C
+ (nullable instancetype)objectForPrimaryKey:(nullable id)primaryKey;
Swift
class func object(forPrimaryKey primaryKey: Any?) -> Self?
Return Value
An object of this object type, or
nil
if an object with the given primary key does not exist.
-
Returns all objects of this object type from the specified Realm.
Declaration
Objective-C
+ (nonnull RLMResults *)allObjectsInRealm:(nonnull RLMRealm *)realm;
Swift
class func allObjects(in realm: RLMRealm) -> RLMResults
Parameters
realm
The Realm to query.
Return Value
An
RLMResults
containing all objects of this type in the specified Realm. -
Returns all objects of this object type matching the given predicate from the specified Realm.
Declaration
Objective-C
+ (nonnull RLMResults *)objectsInRealm:(nonnull RLMRealm *)realm where:(nonnull NSString *)predicateFormat, ...;
Parameters
predicateFormat
A predicate format string, optionally followed by a variable number of arguments.
realm
The Realm to query.
Return Value
An
RLMResults
containing all objects of this type in the specified Realm that match the given predicate. -
Returns all objects of this object type matching the given predicate from the specified Realm.
Declaration
Objective-C
+ (nonnull RLMResults *)objectsInRealm:(nonnull RLMRealm *)realm withPredicate:(nullable NSPredicate *)predicate;
Swift
class func objects(in realm: RLMRealm, with predicate: NSPredicate?) -> RLMResults
Parameters
predicate
A predicate to use to filter the elements.
realm
The Realm to query.
Return Value
An
RLMResults
containing all objects of this type in the specified Realm that match the given predicate. -
Retrieves the single instance of this object type with the given primary key from the specified Realm.
Returns the object from the specified Realm which has the given primary key, or
nil
if the object does not exist. This is slightly faster than the otherwise equivalent[[SubclassName objectsInRealm:realm where:@"primaryKeyPropertyName = %@", key] firstObject]
.This method requires that
primaryKey
be overridden on the receiving subclass.See
-primaryKey
Declaration
Objective-C
+ (nullable instancetype)objectInRealm:(nonnull RLMRealm *)realm forPrimaryKey:(nullable id)primaryKey;
Swift
class func object(in realm: RLMRealm, forPrimaryKey primaryKey: Any?) -> Self?
Return Value
An object of this object type, or
nil
if an object with the given primary key does not exist.
-
Registers a block to be called each time the object changes.
The block will be asynchronously called after each write transaction which deletes the object or modifies any of the managed properties of the object, including self-assignments that set a property to its existing value.
For write transactions performed on different threads or in differen processes, the block will be called when the managing Realm is (auto)refreshed to a version including the changes, while for local write transactions it will be called at some point in the future after the write transaction is committed.
Notifications are delivered via the standard run loop, and so can’t be delivered while the run loop is blocked by other activity. When notifications can’t be delivered instantly, multiple notifications may be coalesced into a single notification.
Unlike with
RLMArray
andRLMResults
, there is no “initial” callback made after you add a new notification block.Only objects which are managed by a Realm can be observed in this way. You must retain the returned token for as long as you want updates to be sent to the block. To stop receiving updates, call
-invalidate
on the token.It is safe to capture a strong reference to the observed object within the callback block. There is no retain cycle due to that the callback is retained by the returned token and not by the object itself.
Warning
This method cannot be called during a write transaction, when the containing Realm is read-only, or on an unmanaged object.
Declaration
Objective-C
- (nonnull RLMNotificationToken *)addNotificationBlock: (nonnull RLMObjectChangeBlock)block;
Swift
func addNotificationBlock(_ block: @escaping RLMObjectChangeBlock) -> RLMNotificationToken
Parameters
block
The block to be called whenever a change occurs.
Return Value
A token which must be held for as long as you want updates to be delivered.
-
Returns YES if another Realm object instance points to the same object as the receiver in the Realm managing the receiver.
For object types with a primary, key,
isEqual:
is overridden to use the same logic as this method (along with a corresponding implementation forhash
).Declaration
Objective-C
- (BOOL)isEqualToObject:(nonnull RLMObject *)object;
Swift
func isEqual(to object: RLMObject) -> Bool
Parameters
object
The object to compare the receiver to.
Return Value
Whether the object represents the same object as the receiver.


PART I. ARRESTS GENERALLY
§803-1 Arrest; by warrant. No arrest of any person shall be made without first obtaining a warrant or other process therefor from some magistrate, except in the cases provided in this chapter or otherwise provided by law. [PC 1869, c 49, §1; RL 1925, §3967; RL 1935, §5400; RL 1945, §10701; RL 1955, §255-1; HRS §708-1; ren L 1972, c 9, pt of §1; am L 2006, c 28, §§1, 3]
Cross References
See Const. art. I, §7.
Rules of Court
Application for arrest warrant, see HRPP rule 3.
Obtaining the appearance of defendant, see HRPP rule 9.
Case Notes
When warrant not necessary. 7 H. 454 (1888).
Authority to issue warrant of arrest on charge of fraud implies power to discharge when fraud is disproved. 8 H. 187 (1890).
Defined. 23 H. 250 (1916).
(Cited as §708-33.) Affidavit for arrest warrant submitted with affidavit for search warrant can be considered to determine probable cause for search warrant. 56 H. 366, 537 P.2d 8 (1975).
Defendant's warrantless arrest for a petty misdemeanor, made twenty days after the alleged crime was committed, was unlawful; if police believe that waiting days or weeks to arrest a defendant is the most appropriate action under the circumstances, then the police cannot rely on §803-5 and must obtain a warrant pursuant to this section. 107 H. 1, 108 P.3d 304 (2005).
Cited: 37 H. 189, 199 (1945), aff'd 163 F.2d 490 (1947); 42 H. 367, 391 (1958).


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.kolbly.global.G
public final class G
Globals!
Sometimes convenient globals are a good thing - we'll keep ours here
Note: Important to call G.init() early on in the Application instantiation
| Method Summary | |
|---|---|
static android.content.Context |
getAppContext()
Get our application context |
static java.util.Locale |
getLocale()
This is readily available throughout any android app, but in order to future-proof our app, we'll always grab our locale here. |
static void |
init(android.content.Context context)
Initialize our Globals with an application or unit testing context |
static boolean |
isDebugBuild()
Determine if this is a debug build from AndroidManfiest.xml |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void init(android.content.Context context)
Call this from the Application class's onCreate method
context
- Application contextApplication.onCreate()
public static java.util.Locale getLocale()
public static android.content.Context getAppContext()
public static boolean isDebugBuild()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


XBOS-DR
Home
Schedule
Report
DR
Settings
73
"
Years
Reset Zoom
Today
Reset Zoom
edit
edit
whatshot
Heating
ac_unit
Cooling
block
Off


Only avaiable after initPromise promise resolved.
All list operation only performed after this promise resolved.
Thông tin config của list sau khi đã chuẩn hóa.
Delegate for trieving list items.
Delegate for retrieving list view.
Logger for logging error.
backup
A reference to SP.List object. Used to perform CRUD.
Get nomalized default fields.
Get field by field's internal name.
Get list item by id.
Get list item by filter.
Get SP.Fields from server.
Generated using TypeDoc
Init the list field info and guaranty that and list operation will take place after list init successfully.
There are some fields get will be retrieved by defaults: Id, Title, ... (ListBase.defaultFields) By default, all user defined field (!SP.Field.fromBaseType) are retrieved.


return to home page
- website
- our website's home page (https://big.dougie.tech) uses
a
3rd party analytics provider, Google
Analytics, which may set cookies on your device. we
use our analytics provider to measure the number of page views on our website in aggregate
and
the sources
from which our users find our website. google analytics or other analytics measures are not
employed on any other pages of our website.
- slack app
- big text receives the following information about its users when they authorize us:
-
access tokens, which allow us to post messages on your behalf
-
the slack user ID and team ID - allows us to associate your use of our Slack
commands to tokens
-
slack display names and email addresses - provided automatically by Slack, not
stored
-
name of your slack team (e.g. Douglas Technologies) - provided automatically by
Slack, not stored
-
messages sent directly to the big text bot user, which are not stored.
-
big text only stores Slack user IDs, team IDs and access tokens. we do not store your
display name or email address. we additionally do not request permissions from Slack that
would
enable us to later request personal information about you. big text does not have read
access to any
Slack conversations, except for direct messages sent to the big text bot user.
-
information we collect is not shared with any 3rd parties under any circumstance.
-
at your request, big text will delete the stored access tokens. such requests may be made by
emailing
<EMAIL_ADDRESS>you may also revoke your
authorization
directly through Slack, which renders the tokens we have invalid.
-
because big text does not associate the creator of an image with the image itself, we cannot
honor request to delete
all images created by a particular user.


{% load staticfiles %}
Population Risk{{ pop90 }} out of 100 women with your age and race are estimated to develop breast cancer |
Your Risk{{ you90 }} out of 100 is your chance of developing breast cancer in your lifetime (until 90 yrs old) |


!Newbie Guide:
Select the one you seek below. Their location will be indicated on the radar.
[npc_%objectId%_NpcLocationInfo 30571|Seer Tanapi]
[npc_%objectId%_NpcLocationInfo 30572|Seer Livina]
[npc_%objectId%_Link default/NPCloc/30602.htm|Back To The Main List]


## An ImJoy plugin using Noise2Self method for denosing.
This demo is ported from: https://github.com/czbiohub/noise2self/blob/master/notebooks/Intro%20to%20Neural%20Nets.ipynb
## About Noise2Self
Paper: https://arxiv.org/abs/1901.11365
Authors: Joshua Batson, Loic Royer
{
"name": "Noise2Self",
"type": "native-python",
"version": "0.1.9",
"tags": ["CPU", "GPU"],
"api_version": "0.1.2",
"description": "A demo plugin for Noise2Self (Blind Denoising by Self-Supervision)",
"ui": "training steps:{id:'steps', type:'number', min:1, placeholder:1000}",
"inputs": null,
"outputs": null,
"flags": [],
"icon": "extension",
"env": {
"CPU": "conda create -n noise2self-cpu python=3.6.2",
"GPU": "conda create -n noise2self-gpu python=3.6.2"
},
"requirements": {
"CPU": ["repo:https://github.com/czbiohub/noise2self.git", "conda: -c pytorch six pillow numpy scipy pytorch=1.0 torchvision"],
"GPU": ["repo:https://github.com/czbiohub/noise2self.git", "conda: -c pytorch six pillow numpy scipy cudatoolkit=9.0 pytorch=1.0 torchvision"]
},
"dependencies": ["oeway/ImJoy-Plugins:Im2Im-Dashboard"]
}


Info
Links
Options
IP
Unknown
MAC
Unknown
Last Seen
Unknown
#
Switch
Port
View Full Host Information


Tagged “review”
-
Scientific Recommendations for Strength and Hypertrophy Training from 150+ Studies (part 1 of 3)
review
strength
hypertrophy
-
A Collection of 200+ Keto and Carbohydrate Studies
review
nutrition
keto
weight
-
Collection of 250+ Studies, Supplements, Vitamins, Bioavailability, Micronutrients
review
supplement
-
Collection of 450+ Weight Loss Studies, Appetite, Adherence, CICO, Meal Frequency, and More
review
weight
-
Collection of 70+ Bodybuilding Studies, Nutrition, Health, Contest Prep
review
workout
nutrition
-
The “Hypertrophy Rep Range” – Fact or Fiction?
hypertrophy
programming
review
-
Training Frequency for Muscle Growth, What the Data Say
review
program
hypertrophy
-
The Evidence is Lacking for “Effective Reps”
review
workout
hypertrophy
-
The First Clear Evidence of Delayed Hypertrophic Supercompensation
review
article
hypertrophy
workout
-
Volume Bible
review
-
Review of Recent Fitness Studies VII More Squats, Blood Flow Restriction and Strength Training
review
-
Review of Recent Fitness Studies VI Squats, Foam Rolling & Training to Failure
review
-
Muscle Building 101
beginner
review
-
How To Make Gains Without A Gym
workout
review
-
How to train while gaining/lose weight, why lean bulking sets you up for failure
workout
review
-
YOUR Drug-Free Muscle and Strength Potential
review
-
The Complete Strength Training Guide
review
See all tags.


clonealign
assigns single-cell RNA-seq expression to cancer clones by probabilistically mapping RNA-seq to clone-specific copy number profiles using reparametrization gradient variational inference. This is particularly useful when clones have been inferred using ultra-shallow single-cell DNA-seq meaning SNV analysis is not possible.
See the website for more details as well as the introductory vignette.
clonealign
is built using Google’s Tensorflow so requires installation of the R package tensorflow
:
install.packages("tensorflow")
tensorflow::install_tensorflow()
clonealign
can then be installed from github:
install.packages("devtools") # If not already installed
install_github("kieranrcampbell/clonealign")
clonealign
accepts either a cell-by-gene matrix of raw counts or a SingleCellExperiment with a counts
assay as gene expression input. It also requires a gene-by-clone matrix or data.frame
corresponding to the copy number of each gene in each clone. The cells are then assigned to their clones by calling
cal <- clonealign(gene_expression_data, # matrix or SingleCellExperiment
copy_number_data) # matrix or data.frame
print(cal)
A clonealign_fit for 200 cells, 100 genes, and 3 clones
To access clone assignments, call x$clone
To access ML parameter estimates, call x$ml_params
print(head(cal$clone))
[1] "B" "C" "C" "B" "C" "B"


An alert dialog is a specific type of lightbox-dialog that must be explicitly acknowledged in order to dimiss.
The markup requirements are very strictly: a heading, description and button.
You must acknowledge this alert to continue.
You must acknowledge this alert to continue.


What is a ninja?
Formal definition:
a person skilled in ninjutsu (
more details here
)
Cool definition: